test private key again
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Morgan McMillian 2023-03-09 07:50:08 -08:00
parent 795209523f
commit e90e52d8c6

View file

@ -7,7 +7,9 @@ pipeline:
- ANSIBLE_HOST_KEY_CHECKING=False
commands:
- apt-get update && apt-get install ansible -y
- ansible-playbook --user igor --inventory hosts.ini main.yml
- echo $ANSIBLE_PRIVATE_KEY > /tmp/privateKey
- chmod 600 /tmp/privateKey
- ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml
publish:
image: plugins/ansible