From ae3d9b3ee3ffdc66ec761e6a4cec0d2a9fec1691 Mon Sep 17 00:00:00 2001 From: Faris AL-Otaibi Date: Tue, 17 Sep 2024 19:15:16 +0300 Subject: [PATCH] Fix --- tasks/setup-Debian.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 32e338c3..c98ee57b 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -6,6 +6,6 @@ apt: "name={{ apache_packages }} state={{ apache_packages_state }}" - name: Ensure Apache packages are installed on Debian - apt: "name={{ package }} state={{ state }}" - with_items: "{{ apache_packages_extra }}" + apt: "name={{ item.package }} state={{ item.state }}" + loop: "{{ apache_packages_extra }}" when: apache_packages_extra is defined and apache_packages_extra | length > 0