From 90b1fc8fe94a5349ca6f2e42f578636a877dc5d3 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 --- 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 acf730097..13c6b074f 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