This commit is contained in:
parent
385da1e264
commit
5a8740a393
@ -1,12 +1,12 @@
|
|||||||
workspace:
|
|
||||||
base: /runner
|
|
||||||
path: /
|
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
run-playbooks:
|
run-playbooks:
|
||||||
image: quay.io/ansible/ansible-runner:latest
|
image: quay.io/ansible/ansible-runner:latest
|
||||||
environment:
|
environment:
|
||||||
- RUNNER_PLAYBOOK=ping.yml
|
- RUNNER_PLAYBOOK=ping.yml
|
||||||
|
commands:
|
||||||
|
- mkdir env
|
||||||
|
- echo $SSH_KEY > env/ssh_key
|
||||||
|
- ansible-runner run `pwd`
|
||||||
secrets: [ssh_key]
|
secrets: [ssh_key]
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
Loading…
Reference in New Issue
Block a user