mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 06:13:21 +00:00
ipaservice: Do not set continue to None for service_del
delete_continue defaults to None. The use of continue: None is resulting in an error with the batch command. Therefore only set continue if it is not None.
This commit is contained in:
@@ -840,7 +840,9 @@ def main():
|
||||
elif state == "absent":
|
||||
if action == "service":
|
||||
if res_find is not None:
|
||||
args = {'continue': delete_continue}
|
||||
args = {}
|
||||
if delete_continue is not None:
|
||||
args['continue'] = delete_continue
|
||||
commands.append([name, 'service_del', args])
|
||||
|
||||
elif action == "member":
|
||||
|
||||
Reference in New Issue
Block a user