This is exposing the key, so we'll change it afterwards.

lektura
Jonas Oberg 2017-06-13 09:43:33 +02:00
parent dcbda61dfa
commit b12ad6e92d
1 changed files with 0 additions and 1 deletions

View File

@ -8,7 +8,6 @@ pipeline:
image: rics3n/drone-ansible
secrets: [ ssh_key ]
commands:
- env
- 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