Added drone

lektura
Jonas Oberg 2017-06-13 09:45:44 +02:00
parent b12ad6e92d
commit 369579f6f4
1 changed files with 1 additions and 1 deletions

View File

@ -8,8 +8,8 @@ pipeline:
image: rics3n/drone-ansible
secrets: [ ssh_key ]
commands:
- echo "$SSH_KEY"
- mkdir /root/.ssh && echo "$SSH_KEY" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
- ssh-keyscan -H lund.fsfeurope.org >> ~/.ssh/known_hosts
- ansible-playbook playbook.yml -i hosts
when:
branch: master