mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add missing keyword args in aix_inittab (#26423)
fail_json fails if msg is not provided. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
b17da1fae9
commit
613327d47a
1 changed files with 1 additions and 2 deletions
|
@ -235,8 +235,7 @@ def main():
|
||||||
[mkitab, new_entry])
|
[mkitab, new_entry])
|
||||||
|
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
module.fail_json(
|
module.fail_json(msg="could not adjust inittab", rc=rc, err=err)
|
||||||
"could not adjust inittab", rc=rc, err=err)
|
|
||||||
result['msg'] = "add inittab entry" + " " + module.params['name']
|
result['msg'] = "add inittab entry" + " " + module.params['name']
|
||||||
result['changed'] = True
|
result['changed'] = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue