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
Dimitri Savineau 2019-11-15 10:37:27 -05:00 committed by Guillaume Abrioux
parent 45fb9241c0
commit 90b1fc8fe9
1 changed files with 6 additions and 0 deletions

View File

@ -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