mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 11:24:50 +00:00
ipauser, ipagroup: Fix typo in only one error message
This commit is contained in:
@@ -242,7 +242,7 @@ def main():
|
|||||||
if state == "present":
|
if state == "present":
|
||||||
if len(names) != 1:
|
if len(names) != 1:
|
||||||
ansible_module.fail_json(
|
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":
|
if action == "member":
|
||||||
invalid = ["description", "gid", "nonposix", "external",
|
invalid = ["description", "gid", "nonposix", "external",
|
||||||
"nomembers"]
|
"nomembers"]
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ def main():
|
|||||||
if state == "present":
|
if state == "present":
|
||||||
if len(names) != 1:
|
if len(names) != 1:
|
||||||
ansible_module.fail_json(
|
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:
|
if first is None:
|
||||||
ansible_module.fail_json(msg="First name is needed")
|
ansible_module.fail_json(msg="First name is needed")
|
||||||
if last is None:
|
if last is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user