⏮ Backtrack volume usage in CI
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
10ba387d65
commit
5cde178cbd
10
.drone.yml
10
.drone.yml
@ -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: {}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user