CI: run ansible-playbook --check to assure idempotency
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Manske 2022-09-30 22:27:04 +02:00
parent 5a7262b037
commit a5b54b5982
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A

View File

@ -21,6 +21,12 @@ steps:
commands:
- cd coreos-config
- 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
when:
status: