Added drone
parent
b12ad6e92d
commit
369579f6f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue