You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something I can't figure out though is how to define the remote user and path to the private key when using the inventory generated by this tool to connect with ec2 instances. Normally you could do something like this in the inventory from what I've been reading:
However with the dynamic inventory this isn't possible, or at least clear to me how to change my implementation.
I have a bunch of instances in the infrastructure template from terraform, so this is just an example.
currently I can run a test playbook like this, but its not ideal
I thought a suitable workaround would be to use ssh-add, but for some reason, I can't get that command to work with my vagrant ubuntu/xenial64 vb image.
vagrant@openfirehawkserver:/vagrant$ ssh-add ~/my_key_pair.pem
Could not open a connection to your authentication agent.
The text was updated successfully, but these errors were encountered:
Something I can't figure out though is how to define the remote user and path to the private key when using the inventory generated by this tool to connect with ec2 instances. Normally you could do something like this in the inventory from what I've been reading:
However with the dynamic inventory this isn't possible, or at least clear to me how to change my implementation.
I have a bunch of instances in the infrastructure template from terraform, so this is just an example.
currently I can run a test playbook like this, but its not ideal
I thought a suitable workaround would be to use ssh-add, but for some reason, I can't get that command to work with my vagrant ubuntu/xenial64 vb image.
The text was updated successfully, but these errors were encountered: