apache: create ip_whitelist file if missing

This commit is contained in:
Jérémy Lecour 2024-02-07 15:31:40 +01:00 committed by Jérémy Lecour
parent 3bb29aa6ba
commit 8af6cdc4d6
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY

View file

@ -5,6 +5,7 @@
dest: /etc/apache2/ipaddr_whitelist.conf
line: "Require ip {{ item }}"
state: present
create: yes
loop: "{{ apache_ipaddr_whitelist_present }}"
notify: reload apache
tags: