Merge "Restart dnsmasq after clearing iptables"
This commit is contained in:
commit
ecde03823f
|
@ -99,6 +99,15 @@
|
||||||
roles:
|
roles:
|
||||||
- role: "lxc_hosts"
|
- role: "lxc_hosts"
|
||||||
|
|
||||||
|
post_tasks:
|
||||||
|
- name: Trigger dnsmasq restart
|
||||||
|
command: /bin/true
|
||||||
|
changed_when:
|
||||||
|
- (lxc_net_manage_iptables is defined) and (lxc_net_manage_iptables | bool)
|
||||||
|
- (iptables_clear is defined) and (iptables_clear is changed)
|
||||||
|
notify:
|
||||||
|
- Restart dnsmasq
|
||||||
|
|
||||||
- name: Playbook for configuring test host networking
|
- name: Playbook for configuring test host networking
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
# This set of tasks runs against localhost
|
# This set of tasks runs against localhost
|
||||||
|
@ -206,14 +215,6 @@
|
||||||
setup:
|
setup:
|
||||||
gather_subset: "all"
|
gather_subset: "all"
|
||||||
|
|
||||||
- name: Trigger dnsmasq restart
|
|
||||||
command: /bin/true
|
|
||||||
changed_when:
|
|
||||||
- (lxc_net_manage_iptables is defined) and (lxc_net_manage_iptables | bool)
|
|
||||||
- (iptables_clear is defined) and (iptables_clear is changed)
|
|
||||||
notify:
|
|
||||||
- Restart dnsmasq
|
|
||||||
|
|
||||||
- name: Set interfaces fact
|
- name: Set interfaces fact
|
||||||
set_fact:
|
set_fact:
|
||||||
active_interfaces: |-
|
active_interfaces: |-
|
||||||
|
|
Loading…
Reference in New Issue