diff --git a/lib/ansible/modules/database/proxysql/proxysql_backend_servers.py b/lib/ansible/modules/database/proxysql/proxysql_backend_servers.py index 969a78cc40..019cc979d3 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 617ec18561..d6fa6648f3 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 c440d29f40..20500cdd39 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 e68e516fce..16b1cae84f 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 d85e410225..9b214edf9e 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 d32d6b98b2..254ce80fc7 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 714d880c60..cbda97ddb2 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