Add handler to iptables to hup libvirtd on buildhw. Ticket 4581
This commit is contained in:
parent
42d33beb96
commit
313cf3ab0d
2 changed files with 6 additions and 0 deletions
|
@ -133,3 +133,8 @@
|
||||||
|
|
||||||
- name: restart bridge
|
- name: restart bridge
|
||||||
shell: /usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge
|
shell: /usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge
|
||||||
|
|
||||||
|
- name: hup libvirtd
|
||||||
|
command: pkill -HUP libvirtd
|
||||||
|
ignore_errors: true
|
||||||
|
when: inventory_hostname.startswith('buildhw')
|
||||||
|
|
|
@ -121,6 +121,7 @@
|
||||||
- ../templates/iptables/iptables
|
- ../templates/iptables/iptables
|
||||||
notify:
|
notify:
|
||||||
- restart iptables
|
- restart iptables
|
||||||
|
- hup libvirtd
|
||||||
tags:
|
tags:
|
||||||
- iptables
|
- iptables
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue