I have my ansible role in a git repo, in AWS Code Commit. I have an SSH Key that allows me to clone the repo.
I have an ~/.ssh/config file that configures the key/user for code commit. Host git-codecommit.us-east-1.amazonaws.com User AKIAJKJVTT7KGQ3WKG6A IdentityFile ~/.ssh/codecommit_rsa This works when I attempt a regular git clone. git clone ssh: //[email protected]/v1/repos/ansible-role-openvpn I can not figure out how to dupe this with ansible galaxy. I have tried the following. - src: [email protected]/v1/repos/ ansible-role-openvpn.git scm: git - src: ssh: //[email protected]/v1/repos/ansible-role-openvpn.git scm: git - src: git+ssh: //[email protected]/v1/repos/ansible-role-openvpn.git scm: git They all result in the same error. Processing role ansible-role-openvpn [WARNING]: - ansible-role-openvpn was NOT installed successfully: - command git clone ssh://[email protected] east-1.amazonaws.com/v1/repos/ansible-role-openvpn.git ansible-role-openvpn failed in directory /tmp/tmpK_lRx2 (rc=128) -- 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/2068f000-5b74-48cb-aff6-66c762891b7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
