From 455ca83ef58bc4bac54c9c1e54e7db479a64bead Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Mon, 12 Aug 2019 18:31:54 +0200
Subject: [PATCH] ipauser, ipagroup: Fix typo in only one error message

---
 plugins/modules/ipagroup.py | 2 +-
 plugins/modules/ipauser.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/modules/ipagroup.py b/plugins/modules/ipagroup.py
index 25ab9cf9..48266f58 100644
--- a/plugins/modules/ipagroup.py
+++ b/plugins/modules/ipagroup.py
@@ -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"]
diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py
index e21452c6..04a49ecd 100644
--- a/plugins/modules/ipauser.py
+++ b/plugins/modules/ipauser.py
@@ -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:
-- 
GitLab