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>
(cherry picked from commit 90b1fc8fe9
)
pull/5113/head
parent
424a0ce4ab
commit
eb2fba79fc
|
@ -13,6 +13,12 @@
|
||||||
or is_atomic | bool)
|
or is_atomic | bool)
|
||||||
tags: firewall
|
tags: firewall
|
||||||
block:
|
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
|
- name: start firewalld
|
||||||
service:
|
service:
|
||||||
name: firewalld
|
name: firewalld
|
||||||
|
|
Loading…
Reference in New Issue