Replaced image
parent
af71e3e492
commit
7fa3d20c61
|
@ -1,12 +1,12 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: williamyeh/ansible
|
image: williamyeh/ansible:debian8
|
||||||
commands:
|
commands:
|
||||||
- ansible-playbook -vvv playbook.yml -i hosts --syntax-check
|
- ansible-playbook -vvv playbook.yml -i hosts --syntax-check
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: williamyeh/ansible
|
image: williamyeh/ansible:debian8
|
||||||
secrets: [ ssh_key ]
|
secrets: [ ssh_key ]
|
||||||
commands:
|
commands:
|
||||||
- mkdir /root/.ssh && echo "$SSH_KEY" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
|
- mkdir /root/.ssh && echo "$SSH_KEY" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
|
||||||
|
|
Loading…
Reference in New Issue