I want to see the SSH key

lektura
Jonas Oberg 2017-06-13 09:12:10 +02:00
parent 6dc082af78
commit 9fd047d665
1 changed files with 1 additions and 0 deletions

View File

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