--- kind: pipeline type: docker name: run updates steps: - name: run updates image: siverten/ansible environment: ANSIBLE_SSH_PIPELINING: False 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 -p ansible-playbook -vvv site.yml -t update