diff --git a/lib/ansible/modules/database/proxysql/proxysql_backend_servers.py b/lib/ansible/modules/database/proxysql/proxysql_backend_servers.py index 969a78cc40d..019cc979d34 100644 --- a/lib/ansible/modules/database/proxysql/proxysql_backend_servers.py +++ b/lib/ansible/modules/database/proxysql/proxysql_backend_servers.py @@ -179,11 +179,10 @@ stdout: } ''' -ANSIBLE_METADATA = { - 'version': '1.0', - 'supported_by': 'community', - 'status': ['stableinterface'] -} +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['stableinterface'], + 'supported_by': 'community'} + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.mysql import mysql_connect diff --git a/lib/ansible/modules/database/proxysql/proxysql_global_variables.py b/lib/ansible/modules/database/proxysql/proxysql_global_variables.py index 617ec185613..d6fa6648f3c 100644 --- a/lib/ansible/modules/database/proxysql/proxysql_global_variables.py +++ b/lib/ansible/modules/database/proxysql/proxysql_global_variables.py @@ -104,11 +104,10 @@ stdout: } ''' -ANSIBLE_METADATA = { - 'version': '1.0', - 'supported_by': 'community', - 'status': ['stableinterface'] -} +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['stableinterface'], + 'supported_by': 'community'} + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.mysql import mysql_connect diff --git a/lib/ansible/modules/database/proxysql/proxysql_manage_config.py b/lib/ansible/modules/database/proxysql/proxysql_manage_config.py index c440d29f405..20500cdd397 100644 --- a/lib/ansible/modules/database/proxysql/proxysql_manage_config.py +++ b/lib/ansible/modules/database/proxysql/proxysql_manage_config.py @@ -119,11 +119,10 @@ stdout: } ''' -ANSIBLE_METADATA = { - 'version': '1.0', - 'supported_by': 'community', - 'status': ['stableinterface'] -} +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['stableinterface'], + 'supported_by': 'community'} + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.mysql import mysql_connect diff --git a/lib/ansible/modules/database/proxysql/proxysql_mysql_users.py b/lib/ansible/modules/database/proxysql/proxysql_mysql_users.py index e68e516fce9..16b1cae84ff 100644 --- a/lib/ansible/modules/database/proxysql/proxysql_mysql_users.py +++ b/lib/ansible/modules/database/proxysql/proxysql_mysql_users.py @@ -170,11 +170,10 @@ stdout: } ''' -ANSIBLE_METADATA = { - 'version': '1.0', - 'supported_by': 'community', - 'status': ['stableinterface'] -} +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['stableinterface'], + 'supported_by': 'community'} + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.mysql import mysql_connect diff --git a/lib/ansible/modules/database/proxysql/proxysql_query_rules.py b/lib/ansible/modules/database/proxysql/proxysql_query_rules.py index d85e4102256..9b214edf9e5 100644 --- a/lib/ansible/modules/database/proxysql/proxysql_query_rules.py +++ b/lib/ansible/modules/database/proxysql/proxysql_query_rules.py @@ -251,11 +251,10 @@ stdout: } ''' -ANSIBLE_METADATA = { - 'version': '1.0', - 'supported_by': 'community', - 'status': ['stableinterface'] -} +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['stableinterface'], + 'supported_by': 'community'} + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.mysql import mysql_connect diff --git a/lib/ansible/modules/database/proxysql/proxysql_replication_hostgroups.py b/lib/ansible/modules/database/proxysql/proxysql_replication_hostgroups.py index d32d6b98b2a..254ce80fc7f 100644 --- a/lib/ansible/modules/database/proxysql/proxysql_replication_hostgroups.py +++ b/lib/ansible/modules/database/proxysql/proxysql_replication_hostgroups.py @@ -126,11 +126,10 @@ stdout: } ''' -ANSIBLE_METADATA = { - 'version': '1.0', - 'supported_by': 'community', - 'status': ['stableinterface'] -} +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['stableinterface'], + 'supported_by': 'community'} + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.mysql import mysql_connect diff --git a/lib/ansible/modules/database/proxysql/proxysql_scheduler.py b/lib/ansible/modules/database/proxysql/proxysql_scheduler.py index 714d880c60b..cbda97ddb24 100644 --- a/lib/ansible/modules/database/proxysql/proxysql_scheduler.py +++ b/lib/ansible/modules/database/proxysql/proxysql_scheduler.py @@ -156,11 +156,10 @@ stdout: } ''' -ANSIBLE_METADATA = { - 'version': '1.0', - 'supported_by': 'community', - 'status': ['stableinterface'] -} +ANSIBLE_METADATA = {'metadata_version': '1.0', + 'status': ['stableinterface'], + 'supported_by': 'community'} + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.mysql import mysql_connect