The current template for hosts on the ansible targets, doesn't work for me:
{{ host.ansible_host }} ansible_ssh_host={{ host.ansible_ssh_hostname }} ansible_host={{ host.ansible_ssh_hostname }} ansible_ssh_user={{ host.ansible_ssh_username }}
It resolves /any/ host.ansible value to the actual /ansible/ host-alias from /etc/ansible/hosts or similar INI file.
In case of the default config from the official documentation:
- host.ansible_ssh_hostname=
atom-ro-server
Connecting to the host by this alias works great (replication fine!). I just need to manually fix the hosts to point to the FQDN "atom-ro.example.com" server name.
The current template for hosts on the ansible targets, doesn't work for me:
{{ host.ansible_host }} ansible_ssh_host={{ host.ansible_ssh_hostname }} ansible_host={{ host.ansible_ssh_hostname }} ansible_ssh_user={{ host.ansible_ssh_username }}It resolves /any/
host.ansiblevalue to the actual /ansible/ host-alias from/etc/ansible/hostsor similar INI file.In case of the default config from the official documentation:
atom-ro-serverConnecting to the host by this alias works great (replication fine!). I just need to manually fix the
hoststo point to the FQDN "atom-ro.example.com" server name.