Right now I have in ansible.cfg: [ssh_connection] ssh_args = -F ssh_config scp_if_ssh = True
And in ssh_config: Host sub.domain.com Hostname sub.domain.com User ubuntu IdentityFile ~/mykeyfile.pem Right now I'm manually editing this file to change the 2 hostnames when I want to work with a different host! The IdentityFile is the same for all hosts. Can you suggest a better way? I've had trouble finding docs on this. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b8868b41-7442-42b1-bfc3-ecbf8b188110n%40googlegroups.com.