test commit
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Morgan McMillian 2023-03-08 18:20:45 -08:00
parent 2ab990c444
commit 6a980c8958

View file

@ -1,10 +1,9 @@
pipeline: pipeline:
test: publish:
image: git.dreamfall.space/thrrgilag/ansible-builder image: plugins/ansible
secrets: [ igor_key ] secrets: [ ssh_key ]
commands: settings:
- echo $IGOR_KEY > /tmp/privateKey playbook: main.yaml
- echo >> /tmp/privateKey inventory: hosts.ini
- chmod 600 /tmp/privateKey user: igor
- wc -l /tmp/privateKey private_key: $SSH_KEY
- ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -v --inventory hosts.ini --private-key /tmp/privateKey --user igor main.yml