From 7de9db5de0b4233caaf422b6994ff0ed8851249f Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Fri, 27 Jan 2023 01:44:20 +0100 Subject: [PATCH] Move into ansible directory before running the playbook --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index c8d7ea8..8970880 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,4 +23,5 @@ steps: - pip install ansible==6.4.0 > /dev/null 2> /dev/null - mkdir "$HOME/.ssh" - echo "$KEY" > "$HOME/.ssh/id" - - ansible-playbook --check ansible/playbooks/misc-all.yaml + - cd ansible + - ansible-playbook --check playbooks/misc-all.yaml