community.proxysql.proxysql_info module – Gathers information about proxysql server
Note
This module is part of the community.proxysql collection (version 1.6.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.proxysql
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: community.proxysql.proxysql_info
.
New in community.proxysql 1.2.0
Synopsis
Gathers information about proxysql server.
Caution. The number of tables that returns, depends on the underlying proyxsql server version.
Requirements
The below requirements are needed on the host that executes this module.
PyMySQL
mysqlclient
Parameters
Parameter |
Comments |
---|---|
Specify a config file from which login_user and login_password are to be read. Default: |
|
The host used to connect to ProxySQL admin interface. Default: |
|
The password used to authenticate to ProxySQL admin interface. |
|
The port used to connect to ProxySQL admin interface. Default: |
|
The socket used to connect to ProxySQL admin interface. |
|
The username used to authenticate to ProxySQL admin interface. |
Notes
Note
Supports
check_mode
.
Examples
- name: Receive information about proxysql setup
community.proxysql.proxysql_info:
login_user: admin
login_password: admin
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The number of tables that returns, depends on the underlying proyxsql server version. Returned: Always Sample: |