From eb2fba79fcb54ee2deb3f43686c96fa9f76a28ed Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Fri, 15 Nov 2019 10:37:27 -0500 Subject: [PATCH] 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) --- roles/ceph-infra/tasks/configure_firewall.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5