--- kind: pipeline type: docker name: run updates steps: - name: setup ansible image: alpine environment: PASS: from_secret: pass volumes: - name: repo path: /drone/src 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 volumes: - name: repo path: /drone/src environment: PRIVATE_KEY: from_secret: key PLAYBOOK: site.yml volumes: - name: repo temp: {}