ANSIBLE.MYSQL_VARIABLES(3)

NAME
mysql_variables - Manage MySQL global variables

DESCRIPTION

Query / Set MySQL variables

OPTIONS

login_host
    mysql host to connect

login_password
    password to connect mysql host, if defined login_user also needed.

login_unix_socket
    unix socket to connect mysql server

login_user
    username to connect mysql host, if defined login_password also needed.

value
    If set, then sets variable value to this

variable
    Variable name to operate(required).

EXAMPLES
# Check for sync_binary_log setting
- mysql_variables: variable=sync_binary_log
# Set read_only variable to 1
- mysql_variables: variable=read_only value=1

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#mysql-variables