Hello,

I was wondering how can one manage inventory seamlessly when SSH keys are
referred in those?

So say I have an inventory file and it says:



[location1]
vm1
vm2
vm3

[location1:vars]
ansible_ssh_private_key_file=/specific-location/location1.key


[location2]
vm4
vm5
vm6

[location2:vars]
ansible_ssh_private_key_file=/specific-location/location2.key




Now, I want to keep this inventory in sync with Ansible AWX and hence it's
updated there via git pull. This results in AWX also trying to use these
SSH keys which are not present and hence it fails to execute.
Is there's a way I could make AWX ignore SSH key files defined in inventory
and use the credentials defined in the task?


Thanks.
-- 


Anurag Bhatia
anuragbhatia.com

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ0%2BaXaXKAuExGR6M0bJ80B-7bM_%3D8%3DYYKGzuQWwnGqfDDyjLQ%40mail.gmail.com.

Reply via email to