I'm having trouble defining an alias for my MySQL database in my inventory file in ansible. I can easily create one for my EC2 instance by using.:
ansible_ssh_host
ansible_ssh_port
ansible_ssh_user
Like this:
[webserver]
some-hostname ansible_ssh_host=some-subdomain-of-amazon
But it doesn't use ssh to connect to the database instance. How do I create an alias for that group
[databases]
some-hostname ansible_mysql_host=some-subdomain-of-amazon
I can't seem to find anything on this in the documentation.
// Ulrik McArdle