From b8e30158490c11d51c070c584875d88e2591445b Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Thu, 9 Mar 2023 08:07:23 -0800 Subject: [PATCH] check file --- .woodpecker.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 08ee023..55a26f0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,14 +7,11 @@ pipeline: - ANSIBLE_HOST_KEY_CHECKING=False commands: # - apt-get update && apt-get install ansible -y - - echo $${ANSIBLE_PRIVATE_KEY} > /tmp/privateKey_a - echo $${SSH_KEY} > /tmp/privateKey - chmod 600 /tmp/privateKey - - chmod 600 /tmp/privateKey - - sha256sum /tmp/privateKey_a - - cat /tmp/privateKey_a - sha256sum /tmp/privateKey - cat /tmp/privateKey + - file /tmp/privateKey - ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml publish: