From 6a980c8958ce70b49f1205bae153d232587d8242 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Wed, 8 Mar 2023 18:20:45 -0800 Subject: [PATCH] test commit --- .woodpecker.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 158c650..21f9068 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,10 +1,9 @@ pipeline: - test: - image: git.dreamfall.space/thrrgilag/ansible-builder - secrets: [ igor_key ] - commands: - - echo $IGOR_KEY > /tmp/privateKey - - echo >> /tmp/privateKey - - chmod 600 /tmp/privateKey - - wc -l /tmp/privateKey - - ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -v --inventory hosts.ini --private-key /tmp/privateKey --user igor main.yml + publish: + image: plugins/ansible + secrets: [ ssh_key ] + settings: + playbook: main.yaml + inventory: hosts.ini + user: igor + private_key: $SSH_KEY