mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 06:13:21 +00:00
idoverride{user,group}: Fix delete_continue with state absent
All tasks for idoverrideuser and idoverridegroup with state absent failed with "'continue' is required" when delete_continue was not set. This happended as delete_continue was internally None and continue: None was provided to the API. The fix is simply to use '"continue": delete_continue or False' so that continue is set to False in this case.
This commit is contained in:
@@ -332,7 +332,7 @@ def main():
|
||||
merge_dicts(
|
||||
{
|
||||
"ipaanchoruuid": anchor,
|
||||
"continue": delete_continue
|
||||
"continue": delete_continue or False
|
||||
},
|
||||
runtime_args
|
||||
)]
|
||||
|
||||
@@ -572,7 +572,7 @@ def main():
|
||||
merge_dicts(
|
||||
{
|
||||
"ipaanchoruuid": anchor,
|
||||
"continue": delete_continue
|
||||
"continue": delete_continue or False
|
||||
},
|
||||
runtime_args
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user