🤖 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:
10
.drone.yml
10
.drone.yml
@@ -5,12 +5,16 @@ name: run updates
|
||||
|
||||
steps:
|
||||
- name: run updates
|
||||
image: siverten/ansible
|
||||
pull: always
|
||||
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
|
||||
#- ansible-playbook site.yml -t update -vvv
|
||||
image: plugins/ansible
|
||||
environment:
|
||||
PRIVATE_KEY:
|
||||
from_secret: key
|
||||
PLAYBOOK: site.yml
|
||||
|
||||
|
Reference in New Issue
Block a user