Skip to content
Snippets Groups Projects
Commit 31efa2d6 authored by jurgenhaas's avatar jurgenhaas
Browse files

General improvements

parent 1585afb9
No related branches found
No related tags found
No related merge requests found
[client]
user=root
password={{ mysql_root_password }}
{% if mysql_default_host is defined and hostvars[mysql_default_host|default(inventory_hostname)]["ssh_tunnel_ports"] is defined %}
{% if inventory_hostname not in groups["dbserver-mysql"] and mysql_default_host is defined and mysql_default_host != inventory_hostname and hostvars[mysql_default_host|default(inventory_hostname)]["ssh_tunnel_ports"] is defined %}
host=127.0.0.1
port={{ hostvars[mysql_default_host|default(inventory_hostname)]["ssh_tunnel_ports"][0]["local"] }}
{% else %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment