diff --git a/plugins/modules/proxysql_mysql_users.py b/plugins/modules/proxysql_mysql_users.py index dd50347..cca8028 100644 --- a/plugins/modules/proxysql_mysql_users.py +++ b/plugins/modules/proxysql_mysql_users.py @@ -24,6 +24,12 @@ description: - Password of the user connecting to the mysqld or ProxySQL instance. type: str + comment: + description: + - A helpful comment. + type: str + required: false + version_added: '1.7.0' encrypt_password: description: - Encrypt a cleartext password passed in the I(password) option, using @@ -129,6 +135,7 @@ salt: 'secrets_of_20_chars_' state: present load_to_runtime: false + comment: this is a test # This example removes a user, saves the mysql user config to disk, and # dynamically loads the mysql user config to runtime. It uses credentials @@ -164,6 +171,7 @@ transaction_persistent: 0 use_ssl: 0 username: guest_ro + comment: this is a test username: guest_ro ''' @@ -229,7 +237,8 @@ def __init__(self, module): "default_schema", "transaction_persistent", "fast_forward", - "max_connections" + "max_connections", + "comment" ] self.config_data = dict((k, module.params[k]) @@ -445,7 +454,8 @@ def main(): state=dict(default='present', choices=['present', 'absent']), save_to_disk=dict(default=True, type='bool'), - load_to_runtime=dict(default=True, type='bool') + load_to_runtime=dict(default=True, type='bool'), + comment=dict(type='str') ) module = AnsibleModule(