🤖 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:
@@ -7,13 +7,13 @@ steps:
|
||||
- name: run updates
|
||||
image: siverten/ansible
|
||||
environment:
|
||||
ANSIBLE_SSH_PIPELINING: False
|
||||
#ANSIBLE_SSH_PIPELINING: False
|
||||
ANSIBLE_SSH_ARGS: -o StrictHostKeyChecking no -C -o ControlMaster=auto -o ControlPersist=60s
|
||||
PASS:
|
||||
from_secret: pass
|
||||
KEY:
|
||||
from_secret: key
|
||||
commands:
|
||||
- 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
|
||||
|
||||
|
Reference in New Issue
Block a user