From f262b09ee12620d1b667b3558c9f84654ea2452d Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Thu, 9 Mar 2023 07:44:23 -0800 Subject: [PATCH] try something more direct --- .woodpecker.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 545d6f8..9212ea7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,13 @@ pipeline: + test: + image: debian:stable + secrets: [ ssh_key ] + environment: + - ANSIBLE_PRIVATE_KEY=$SSH_KEY + commands: + - apt-get update && apt-get install ansible -y + - ansible-playbook --user igor --inventory hosts.ini main.yml + publish: image: plugins/ansible pull: true