Context:
I am building a playbook that will clone a private repository from github, so I need to enable ssh-add and SSH agent forwading
With native Ansible I can do it with
eval “$(ssh-agent -s)”
ssh-add ~/.ssh/id_rsa
ansible-playbook …
My question is with AWX, how can I perform these two steps before running the playbook?
eval “$(ssh-agent -s)”
ssh-add ~/.ssh/id_rsa