dddd6c9b35
firewalld_info: fail cleanly when D-Bus is unavailable ( #805 )
...
python-firewall wraps a missing D-Bus socket in FirewallError, which the module did not catch, so Ansible reported a module crash instead of a normal failure.
Fixes #678
Assisted-by: Grok 4.7
Signed-off-by: Nikhil Jain <nikhjain@redhat.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-19 17:05:46 +09:00
Abhijeet Kasurde and GitHub
dbeb4a861d
firewalld_info: Use PY2 compatible syntax ( #719 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2026-05-15 12:07:12 -07:00
Abhijeet Kasurde and GitHub
d88a3c833c
firewalld_info: Use module.warn ( #715 )
...
* Use module.warn to display warnings instead of module.exit_json
Fixes : #710
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2026-05-11 17:47:10 -07:00
Pavel Bar and Cursor AI
37e46324f5
Fix deprecated imports in plugins/modules/firewalld_info.py
...
Replace deprecated module_utils import:
- ansible.module_utils._text -> ansible.module_utils.common.text.converters
Fixes #686
Co-authored-by: Cursor AI
Signed-off-by: Pavel Bar <pbar@redhat.com >
2026-05-06 18:58:14 +03:00
Felix Fontein
ab8dfefd90
Use module.warn() instead of returning warnings.
2025-08-06 06:49:32 +02:00
Alexei Znamensky
0c9ab06a55
review modules docs
2024-06-15 17:00:54 +12:00
Michael and GitHub
0847977d12
Warn only when zones were ignored in firewalld_info ( #504 )
...
* warn only when zones were ignored
* add changelog 504-firewalld_info-warning
2024-01-09 16:07:58 -06:00
Maxwell G
85c958ccb8
respawn firewalld_info module when selinux is missing
2023-05-14 05:44:47 +00:00
exploide
01f19cde25
firewalld_info: fixed typo in default_zone and improved examples
2023-03-14 18:53:36 +01:00
Hideki Saito
553b49245f
Support new test-sanity-docker-devel test
...
* Remove unused module import
Signed-off-by: Hideki Saito <saito@fgrep.org >
2023-03-13 18:11:49 +09:00
Vladislav Sharapov
d0e1504f8a
Fix boolean values in docs
2022-12-09 00:36:29 +04:00
Hideki Saito and Abhijeet Kasurde
a45448bb26
Replace distutils with included module in ansible-core 2.12
...
- Fixes #303
- Addresses PEP 632(https://www.python.org/dev/peps/pep-0632/ )
Signed-off-by: Hideki Saito <saito@fgrep.org >
2022-01-06 13:53:36 +05:30
Hideki Saito
27434455e5
Add new firewalld_info module to ansible.posix collection
...
* fixes #98
Signed-off-by: Hideki Saito <saito@fgrep.org >
2021-07-09 23:47:12 +09:00