forked from evolix/ansible-roles
apache: create ip_whitelist file if missing
This commit is contained in:
parent
3bb29aa6ba
commit
8af6cdc4d6
|
@ -5,6 +5,7 @@
|
||||||
dest: /etc/apache2/ipaddr_whitelist.conf
|
dest: /etc/apache2/ipaddr_whitelist.conf
|
||||||
line: "Require ip {{ item }}"
|
line: "Require ip {{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
create: yes
|
||||||
loop: "{{ apache_ipaddr_whitelist_present }}"
|
loop: "{{ apache_ipaddr_whitelist_present }}"
|
||||||
notify: reload apache
|
notify: reload apache
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue