forked from evolix/ansible-roles
Minifirewall: ensure that at least 1 trusted IP is provided
This commit is contained in:
parent
ad2a36036a
commit
5efb9b04e1
|
@ -30,6 +30,10 @@
|
||||||
line: "# END ANSIBLE MANAGED BLOCK FOR IPS"
|
line: "# END ANSIBLE MANAGED BLOCK FOR IPS"
|
||||||
insertafter: '^PRIVILEGIEDIPS='
|
insertafter: '^PRIVILEGIEDIPS='
|
||||||
|
|
||||||
|
- fail:
|
||||||
|
msg: You must provide at least 1 trusted IP
|
||||||
|
when: minifirewall_trusted_ips == []
|
||||||
|
|
||||||
- name: Configure IP addresses
|
- name: Configure IP addresses
|
||||||
blockinfile:
|
blockinfile:
|
||||||
dest: /etc/default/minifirewall
|
dest: /etc/default/minifirewall
|
||||||
|
|
Loading…
Reference in a new issue