mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 15:45:20 +01:00
Compare commits
5 commits
d782f5e0fc
...
4225071122
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4225071122 | ||
|
|
69dc514d2b | ||
|
|
1efe507ee7 | ||
|
|
f87aab8ce2 | ||
|
|
50fc1d1454 |
2 changed files with 5 additions and 2 deletions
2
changelogs/fragments/504-firewalld_info-warning
Normal file
2
changelogs/fragments/504-firewalld_info-warning
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- Only warn about ignored zones in firewalld_info, when there are zones ignored
|
||||
|
|
@ -356,8 +356,9 @@ def main():
|
|||
specified_zones = module.params['zones']
|
||||
collect_zones = list(set(specified_zones) & set(all_zones))
|
||||
ignore_zones = list(set(specified_zones) - set(collect_zones))
|
||||
warn.append(
|
||||
'Please note: zone:(%s) have been ignored in the gathering process.' % ','.join(ignore_zones))
|
||||
if ignore_zones:
|
||||
warn.append(
|
||||
'Please note: zone:(%s) have been ignored in the gathering process.' % ','.join(ignore_zones))
|
||||
else:
|
||||
collect_zones = get_all_zones(client)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue