From 134e76217f24d95cc3bbc8d73f2a5987cf53234f Mon Sep 17 00:00:00 2001 From: Markus Bergholz Date: Tue, 4 Jan 2022 08:11:54 +0100 Subject: [PATCH] surpress no_log warning (#86) * surpress warning * add changelog fragment --- changelogs/fragments/86-missing-no-log.yml | 3 +++ plugins/modules/proxysql_mysql_users.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/86-missing-no-log.yml diff --git a/changelogs/fragments/86-missing-no-log.yml b/changelogs/fragments/86-missing-no-log.yml new file mode 100644 index 0000000..1cc0ead --- /dev/null +++ b/changelogs/fragments/86-missing-no-log.yml @@ -0,0 +1,3 @@ +--- +minor_changes: + - proxysql_mysql_users - Add missing ``no_log`` option to ``encrypt_password`` parameter (https://github.com/ansible-collections/community.proxysql/pull/86). diff --git a/plugins/modules/proxysql_mysql_users.py b/plugins/modules/proxysql_mysql_users.py index 4442ed8..8ef25f4 100644 --- a/plugins/modules/proxysql_mysql_users.py +++ b/plugins/modules/proxysql_mysql_users.py @@ -408,7 +408,7 @@ def main(): argument_spec.update( username=dict(required=True, type='str'), password=dict(no_log=True, type='str'), - encrypt_password=dict(default=False, type='bool'), + encrypt_password=dict(default=False, type='bool', no_log=False), encryption_method=dict(default='mysql_native_password', choices=list(encryption_method_map.keys())), active=dict(type='bool'), use_ssl=dict(type='bool'),