From 43c6fc208b59437dadf5447300397b236727d835 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Thu, 9 Mar 2023 08:16:41 -0800 Subject: [PATCH] add file magic --- .woodpecker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 55a26f0..48dd72a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,11 +7,13 @@ pipeline: - ANSIBLE_HOST_KEY_CHECKING=False commands: # - apt-get update && apt-get install ansible -y + - apt-get update && apt-get install file -y - echo $${SSH_KEY} > /tmp/privateKey - chmod 600 /tmp/privateKey - sha256sum /tmp/privateKey - cat /tmp/privateKey - file /tmp/privateKey + - wc -l /tmp/privateKey - ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml publish: