This commit is contained in:
Faris AL-Otaibi 2024-09-17 19:15:16 +03:00
parent d15cb71b47
commit ae3d9b3ee3

View file

@ -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