From: Dimitri Savineau Date: Fri, 15 Nov 2019 15:37:27 +0000 (-0500) Subject: ceph-infra: install firewalld python bindings X-Git-Tag: v4.0.16~24 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eb2fba79fcb54ee2deb3f43686c96fa9f76a28ed;p=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 (cherry picked from commit 90b1fc8fe94a5349ca6f2e42f578636a877dc5d3) --- diff --git a/roles/ceph-infra/tasks/configure_firewall.yml b/roles/ceph-infra/tasks/configure_firewall.yml index 7ccb2c36c..0acf5bbd6 100644 --- a/roles/ceph-infra/tasks/configure_firewall.yml +++ b/roles/ceph-infra/tasks/configure_firewall.yml @@ -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