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
1 changed files with 1 additions and 0 deletions

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: