From 0471d187d051889a35de193fa1862cfff387c5c3 Mon Sep 17 00:00:00 2001
From: John Barker <john@johnrbarker.com>
Date: Sat, 5 Sep 2020 20:20:20 +0100
Subject: [PATCH] Example for katacoda

Used by https://github.com/ansible-community/katacoda-scenarios/
---
 plugins/modules/mysql_user.py | 2 +-
 tests/sanity/ignore-2.10.txt  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/plugins/modules/mysql_user.py b/plugins/modules/mysql_user.py
index 9b1aca8..2712210 100644
--- a/plugins/modules/mysql_user.py
+++ b/plugins/modules/mysql_user.py
@@ -21,6 +21,7 @@ options:
       - Name of the user (role) to add or remove.
     type: str
     required: true
+    aliases: ['user']
   password:
     description:
       - Set the user's password..
@@ -58,7 +59,6 @@ options:
     description:
       - Append the privileges defined by priv to the existing ones for this
         user instead of overwriting existing ones.
-    type: bool
     default: no
   tls_requires:
     description:
diff --git a/tests/sanity/ignore-2.10.txt b/tests/sanity/ignore-2.10.txt
index c0323af..b225541 100644
--- a/tests/sanity/ignore-2.10.txt
+++ b/tests/sanity/ignore-2.10.txt
@@ -4,5 +4,4 @@ plugins/modules/mysql_db.py validate-modules:use-run-command-not-popen
 plugins/modules/mysql_info.py validate-modules:doc-elements-mismatch
 plugins/modules/mysql_info.py validate-modules:parameter-list-no-elements
 plugins/modules/mysql_query.py validate-modules:parameter-list-no-elements
-plugins/modules/mysql_user.py validate-modules:undocumented-parameter
 plugins/modules/mysql_variables.py validate-modules:doc-required-mismatch