diff --git a/.woodpecker.yml b/.woodpecker.yml index ddfb897..6cef2f6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,9 +6,12 @@ pipeline: - ANSIBLE_PRIVATE_KEY=$SSH_KEY - ANSIBLE_HOST_KEY_CHECKING=False commands: - - apt-get update && apt-get install ansible -y + # - apt-get update && apt-get install ansible -y - echo $ANSIBLE_PRIVATE_KEY > /tmp/privateKey - chmod 600 /tmp/privateKey + - echo $SSH_KEY|sha256sum + - echo $ANSIBLE_PRIVATE_KEY|sha256sum + - sha256sum /tmp/privateKey - ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml publish: