This commit is contained in:
parent
48019dcead
commit
f262b09ee1
1 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,13 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
|
test:
|
||||||
|
image: debian:stable
|
||||||
|
secrets: [ ssh_key ]
|
||||||
|
environment:
|
||||||
|
- ANSIBLE_PRIVATE_KEY=$SSH_KEY
|
||||||
|
commands:
|
||||||
|
- apt-get update && apt-get install ansible -y
|
||||||
|
- ansible-playbook --user igor --inventory hosts.ini main.yml
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: plugins/ansible
|
image: plugins/ansible
|
||||||
pull: true
|
pull: true
|
||||||
|
|
Loading…
Reference in a new issue