From afc9884f06dc33cb8551fc99766430ba0fcbef05 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Thu, 16 Nov 2023 23:17:07 -0500 Subject: [PATCH] trying pre-built plugin --- .drone.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1f9d694..122fb36 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,10 +4,16 @@ kind: pipeline type: docker steps: - - name: Testing Drone CI with a simple Ansible Playbook - image: gitea.thezengarden.net/podman/images/ansible-dev:latest - commands: - - ls -ltr $DRONE_WORKSPACE - - ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml - - ansible-lint --offline $DRONE_WORKSPACE - - ansible-playbook -v -i 127.0.0.1, $DRONE_WORKSPACE/hello.yml + - name: check playbook + image: plugins/ansible:3 + settings: + playbook: hello.yml + galaxy: requirements.yml + syntax_check: true + # - name: Testing Drone CI with a simple Ansible Playbook + # image: gitea.thezengarden.net/podman/images/ansible-dev:latest + # commands: + # - ls -ltr $DRONE_WORKSPACE + # - ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml + # - ansible-lint --offline $DRONE_WORKSPACE + # - ansible-playbook -v -i 127.0.0.1, $DRONE_WORKSPACE/hello.yml