mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-01 12:24:43 +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":
|
elif state == "absent":
|
||||||
if action == "service":
|
if action == "service":
|
||||||
if res_find is not None:
|
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])
|
commands.append([name, 'service_del', args])
|
||||||
|
|
||||||
elif action == "member":
|
elif action == "member":
|
||||||
|
|||||||
Reference in New Issue
Block a user