mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
* use get() rather than querying the key directly
* add a changelog fragment
* re-enable CI tests
* Update changelog fragment
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit f09c39b71e)
Co-authored-by: quidame <quidame@poivron.org>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
bugfixes:
|
||||
- "iptables_state - fix a broken query of ``async_status`` result
|
||||
with current ansible-core development version
|
||||
(https://github.com/ansible-collections/community.general/issues/2627,
|
||||
https://github.com/ansible-collections/community.general/pull/2671)."
|
||||
@@ -52,7 +52,7 @@ class ActionModule(ActionBase):
|
||||
module_args=module_args,
|
||||
task_vars=task_vars,
|
||||
wrap_async=False)
|
||||
if async_result['finished'] == 1:
|
||||
if async_result.get('finished', 0) == 1:
|
||||
break
|
||||
time.sleep(min(1, timeout))
|
||||
|
||||
|
||||
@@ -5,4 +5,3 @@ skip/freebsd # no iptables/netfilter (Linux specific)
|
||||
skip/osx # no iptables/netfilter (Linux specific)
|
||||
skip/macos # no iptables/netfilter (Linux specific)
|
||||
skip/aix # no iptables/netfilter (Linux specific)
|
||||
disabled # FIXME
|
||||
|
||||
Reference in New Issue
Block a user