test-proj/.woodpecker.yml
Morgan McMillian 795209523f
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
turn off host checking
2023-03-09 07:46:59 -08:00

22 lines
518 B
YAML

pipeline:
test:
image: debian:stable
secrets: [ ssh_key ]
environment:
- ANSIBLE_PRIVATE_KEY=$SSH_KEY
- ANSIBLE_HOST_KEY_CHECKING=False
commands:
- apt-get update && apt-get install ansible -y
- ansible-playbook --user igor --inventory hosts.ini main.yml
publish:
image: plugins/ansible
pull: true
secrets: [ ssh_key ]
settings:
playbook: main.yml
inventory: hosts.ini
connection: paramiko_ssh
user: igor
private_key: $SSH_KEY