--- kind: pipeline type: docker name: run updates steps: - name: run updates 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 image: plugins/ansible environment: PRIVATE_KEY: from_secret: key PLAYBOOK: site.yml