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>
This commit is contained in:
Abhijeet Kasurde
2026-05-11 17:47:10 -07:00
committed by GitHub
parent c4b1c2b0fb
commit d88a3c833c
3 changed files with 8 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
---
minor_changes:
- firewalld_info - use module.warn instead of passing `warnings` to `exit_json` (https://github.com/ansible-collections/ansible.posix/issues/710).