I want to see the environment, too!

lektura
Jonas Oberg 2017-06-13 09:20:00 +02:00
parent 9fd047d665
commit 52fbbfdf0e
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ pipeline:
deploy: deploy:
image: rics3n/drone-ansible image: rics3n/drone-ansible
commands: commands:
- env
- echo "$SSH_KEY" - echo "$SSH_KEY"
- mkdir /root/.ssh && echo "$SSH_KEY" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa - mkdir /root/.ssh && echo "$SSH_KEY" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
- ansible-playbook playbook.yml -i hosts - ansible-playbook playbook.yml -i hosts