mirror of https://github.com/ceph/ceph-ansible.git
ceph-infra: install firewalld python bindings
When using the firewalld ansible module we need to be sure that the python bindings are installed. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>pull/5116/head
parent
45fb9241c0
commit
90b1fc8fe9
|
@ -13,6 +13,12 @@
|
|||
or is_atomic | bool)
|
||||
tags: firewall
|
||||
block:
|
||||
- name: install firewalld python binding
|
||||
package:
|
||||
name: "python{{ ansible_python.version.major }}-firewall"
|
||||
tags: with_pkg
|
||||
when: not is_atomic | bool
|
||||
|
||||
- name: start firewalld
|
||||
service:
|
||||
name: firewalld
|
||||
|
|
Loading…
Reference in New Issue