⏮ Backtrack volume usage in CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sivert V. Sæther 2023-02-06 15:36:45 +01:00
parent 10ba387d65
commit 5cde178cbd

View File

@ -9,24 +9,14 @@ steps:
environment: environment:
PASS: PASS:
from_secret: pass from_secret: pass
volumes:
- name: repo
path: /drone/src
commands: commands:
- sed -i "1s/^/[all:vars]\nansible_become_pass = $PASS\n/" servers.ini - sed -i "1s/^/[all:vars]\nansible_become_pass = $PASS\n/" servers.ini
#- ansible-playbook site.yml -t update -vvv #- ansible-playbook site.yml -t update -vvv
- name: run updates - name: run updates
image: plugins/ansible image: plugins/ansible
volumes:
- name: repo
path: /drone/src
environment: environment:
PRIVATE_KEY: PRIVATE_KEY:
from_secret: key from_secret: key
PLAYBOOK: site.yml PLAYBOOK: site.yml
volumes:
- name: repo
temp: {}