🤖 Drone ansible plugin
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-06 15:32:23 +01:00
parent b3c3dba667
commit 7ba109cce9

View File

@@ -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