I’m trying to clone my gitlab repository into the AWX execution node (I’m just using the default Execution Environment).
In the below portion from my playbook, what is the correct way to:
-
provide the path to the private ssh key required to authenticate with gitlab (in AWX I’ve created a gitlab source control credential as well as a custom credential (GITLAB_AUTH) both of which have the same SSH private key for the user ‘awx’). GITLAB_AUTH was added to the template in AWX that goes with this playbook (see my screenshot of custom cred config in my previous post)
-
pick a destination directory for the git clone (In a previous task, I’ve tried to create this directory using the playbook, but it said I don’t have permission. I used ‘become’ and it said ‘sudo command not found’)