🤖 Fix Drone CI pipeline
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
2b5f386a42
commit
bd44ed46ae
@ -7,13 +7,13 @@ steps:
|
|||||||
- name: run updates
|
- name: run updates
|
||||||
image: siverten/ansible
|
image: siverten/ansible
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_SSH_PIPELINING: False
|
#ANSIBLE_SSH_PIPELINING: False
|
||||||
|
ANSIBLE_SSH_ARGS: -o StrictHostKeyChecking no -C -o ControlMaster=auto -o ControlPersist=60s
|
||||||
PASS:
|
PASS:
|
||||||
from_secret: pass
|
from_secret: pass
|
||||||
KEY:
|
KEY:
|
||||||
from_secret: key
|
from_secret: key
|
||||||
commands:
|
commands:
|
||||||
- sed -i "1s/^/[all:vars]\nansible_become_pass = $PASS\n/" servers.ini
|
- sed -i "1s/^/[all:vars]\nansible_become_pass = $PASS\n/" servers.ini
|
||||||
- echo "\n[ssh_connection]\nssh_args = -o StrictHostKeyChecking no" >> ansible.cfg
|
|
||||||
- unbuffer ansible-playbook -vvv site.yml -t update | cat
|
- unbuffer ansible-playbook -vvv site.yml -t update | cat
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user