This commit is contained in:
parent
0f3f868368
commit
20c67c587c
1 changed files with 2 additions and 1 deletions
|
@ -2,9 +2,10 @@ pipeline:
|
||||||
publish:
|
publish:
|
||||||
image: plugins/ansible
|
image: plugins/ansible
|
||||||
secrets: [ ssh_key ]
|
secrets: [ ssh_key ]
|
||||||
|
environment:
|
||||||
|
- PLUGIN_PRIVATE_KEY=$SSH_KEY
|
||||||
settings:
|
settings:
|
||||||
playbook: main.yml
|
playbook: main.yml
|
||||||
inventory: hosts.ini
|
inventory: hosts.ini
|
||||||
connection: paramiko_ssh
|
connection: paramiko_ssh
|
||||||
user: igor
|
user: igor
|
||||||
private_key: $SSH_KEY
|
|
||||||
|
|
Loading…
Reference in a new issue