From 2768c58f905cc534aec7613c582cedcc7ef029ce Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Sun, 7 Nov 2021 10:20:12 +0900 Subject: [PATCH] Add python-firewall to requirements of firewalld - Fixes #286 Signed-off-by: Hideki Saito --- changelogs/fragments/287_firewalld_requirements.yml | 3 +++ plugins/modules/firewalld.py | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 changelogs/fragments/287_firewalld_requirements.yml diff --git a/changelogs/fragments/287_firewalld_requirements.yml b/changelogs/fragments/287_firewalld_requirements.yml new file mode 100644 index 0000000..621701b --- /dev/null +++ b/changelogs/fragments/287_firewalld_requirements.yml @@ -0,0 +1,3 @@ +--- +trivial: +- firewalld - add python-firewall to requirements (https://github.com/ansible-collections/ansible.posix/issues/286). diff --git a/plugins/modules/firewalld.py b/plugins/modules/firewalld.py index f7a4a67..cd7fae2 100644 --- a/plugins/modules/firewalld.py +++ b/plugins/modules/firewalld.py @@ -128,8 +128,11 @@ notes: The module will not take care of this for you implicitly because that would undo any previously performed immediate actions which were not permanent. Therefore, if you require immediate access to a newly created zone it is recommended you reload firewalld immediately after the zone creation returns with a changed state and before you perform any other immediate, non-permanent actions on that zone. + - This module needs C(python-firewall) or C(python3-firewall) on managed nodes. + It is usually provided as a subset with C(firewalld) from the OS distributor for the OS default Python interpreter. requirements: - firewalld >= 0.2.11 +- python-firewall >= 0.2.11 author: - Adam Miller (@maxamillion) '''