I have several hosts to manage and, in order to access them, i have to use a couple of different ssh keys (and I set the ansible_ssh_private_key_file in the inventory file to tell ansible which key to use).
The thing is that i've been maintaining 2 inventory files versions (which is a pain): one for my station (where ansible_ssh_private_key_file points to my home dir -- /home/enyamada/.ssh) and other for jenkins server (with ansible_ssh_private_key_file pointing to /var/jenkins/.ssh files). Everything else is the same. What's the best way to circumvent this problem? (and keep a single version?) Thank you! -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CANo%3DurZBEqwC5gaq58Sf5GFxnV2LCFTg7M5qxK%2B-w1K36rKshg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
