🤖 Drone ansible plugin
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b3c3dba667
commit
7ba109cce9
10
.drone.yml
10
.drone.yml
@ -5,12 +5,16 @@ name: run updates
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: run updates
|
- name: run updates
|
||||||
image: siverten/ansible
|
image: alpine
|
||||||
pull: always
|
|
||||||
environment:
|
environment:
|
||||||
PASS:
|
PASS:
|
||||||
from_secret: pass
|
from_secret: pass
|
||||||
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
|
||||||
|
image: plugins/ansible
|
||||||
|
environment:
|
||||||
|
PRIVATE_KEY:
|
||||||
|
from_secret: key
|
||||||
|
PLAYBOOK: site.yml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user