ipauser, ipagroup: Fix typo in only one error message

This commit is contained in:
Thomas Woerner
2019-08-12 18:31:54 +02:00
parent 1d5b5d38b7
commit 455ca83ef5
2 changed files with 2 additions and 2 deletions

View File

@@ -242,7 +242,7 @@ def main():
if state == "present":
if len(names) != 1:
ansible_module.fail_json(
msg="Onle one group can be added at a time.")
msg="Only one group can be added at a time.")
if action == "member":
invalid = ["description", "gid", "nonposix", "external",
"nomembers"]

View File

@@ -320,7 +320,7 @@ def main():
if state == "present":
if len(names) != 1:
ansible_module.fail_json(
msg="Onle one user can be added at a time.")
msg="Only one user can be added at a time.")
if first is None:
ansible_module.fail_json(msg="First name is needed")
if last is None: