--- kind: pipeline type: docker name: run updates steps: - name: setup ansible image: alpine environment: PASS: from_secret: pass commands: - sed -i "1s/^/[all:vars]\nansible_become_pass = $PASS\n/" servers.ini #- ansible-playbook site.yml -t update -vvv - name: run updates image: plugins/ansible settings: playbook: site.yml private_key: from_secret: key