This commit is contained in:
parent
f262b09ee1
commit
795209523f
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ pipeline:
|
||||||
secrets: [ ssh_key ]
|
secrets: [ ssh_key ]
|
||||||
environment:
|
environment:
|
||||||
- ANSIBLE_PRIVATE_KEY=$SSH_KEY
|
- ANSIBLE_PRIVATE_KEY=$SSH_KEY
|
||||||
|
- ANSIBLE_HOST_KEY_CHECKING=False
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install ansible -y
|
- apt-get update && apt-get install ansible -y
|
||||||
- ansible-playbook --user igor --inventory hosts.ini main.yml
|
- ansible-playbook --user igor --inventory hosts.ini main.yml
|
||||||
|
|
Loading…
Reference in a new issue