I want to see the SSH key
parent
6dc082af78
commit
9fd047d665
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue