CI: run ansible-playbook --check to assure idempotency
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
5a7262b037
commit
a5b54b5982
@ -21,6 +21,12 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- cd coreos-config
|
- cd coreos-config
|
||||||
- ansible-playbook --private-key /ssh_key --inventory=inventory.yaml playbook.yaml
|
- ansible-playbook --private-key /ssh_key --inventory=inventory.yaml playbook.yaml
|
||||||
|
- name: Validate Ansible
|
||||||
|
image: registry.tobiasmanske.de/ansible-runner:latest
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- cd coreos-config
|
||||||
|
- ansible-playbook --check --private-key /ssh_key --inventory=inventory.yaml playbook.yaml
|
||||||
- name: Notify Discord
|
- name: Notify Discord
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
Loading…
Reference in New Issue
Block a user