🤖 Fix Drone CI pipeline
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-02-06 17:27:59 +01:00
parent 2b5f386a42
commit bd44ed46ae

View File

@@ -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