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