-
-
Save hagbarddenstore/bd68e0ebd8944c99b147 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
write_files: | |
- path: /tmp/my-key | |
permissions: "0400" | |
content: | | |
lines | |
and | |
more | |
lines | |
apt_sources: | |
- source: "ppa:ansible/ansible" | |
package_update: true | |
packages: | |
- software-properties-common | |
- git | |
- [ansible, 2.0.0.2-1ppa~trusty] | |
runcmd: | |
- GIT_SSH="ssh -i /tmp/my-key" git clone git@git.internal:group/ansible.git /tmp/ansible | |
- cd /tmp/ansible | |
- ansible-playbook --connection=local -i inventory/localhost.ini playbook.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment