roles/vmhost: Open libvirt migration firewall port
parent
da79e8482c
commit
f078522d97
|
@ -0,0 +1,2 @@
|
||||||
|
- name: save firewalld configuration
|
||||||
|
command: firewall-cmd --runtime-to-permanent
|
|
@ -61,3 +61,11 @@
|
||||||
name: '{{ item.name }}'
|
name: '{{ item.name }}'
|
||||||
autostart: true
|
autostart: true
|
||||||
with_items: '{{ libvirt_networks }}'
|
with_items: '{{ libvirt_networks }}'
|
||||||
|
|
||||||
|
- name: ensure libvirtd migration port is allowed in the firewall
|
||||||
|
firewalld:
|
||||||
|
port=49152/tcp
|
||||||
|
permanent=no
|
||||||
|
immediate=yes
|
||||||
|
state=enabled
|
||||||
|
notify: save firewalld configuration
|
||||||
|
|
Loading…
Reference in New Issue