10 lines
385 B
YAML
10 lines
385 B
YAML
pipeline:
|
|
test:
|
|
image: git.dreamfall.space/thrrgilag/ansible-builder
|
|
secrets: [ igor_key ]
|
|
commands:
|
|
- echo $IGOR_KEY > /tmp/privateKey
|
|
- echo >> /tmp/privateKey
|
|
- chmod 600 /tmp/privateKey
|
|
- wc -l /tmp/privateKey
|
|
- ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -v --inventory hosts.ini --private-key /tmp/privateKey --user igor main.yml
|