From a5b54b59826697157ac64997f32bf5abfba88c30 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Fri, 30 Sep 2022 22:27:04 +0200 Subject: [PATCH] CI: run ansible-playbook --check to assure idempotency --- .drone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.drone.yml b/.drone.yml index 93d5f86..a21d982 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: