Add SSH key passphrase in kube pipeline
This commit is contained in:
parent
674848f1ca
commit
5dfef566ab
@ -48,6 +48,10 @@ steps:
|
||||
inventory: ./.ansible-items/inventory
|
||||
galaxy: ./.ansible-items/requirements.yml
|
||||
syntax_check: true
|
||||
when:
|
||||
branch:
|
||||
- development
|
||||
|
||||
- name: apply ansible playbook
|
||||
image: plugins/ansible:3
|
||||
settings:
|
||||
@ -56,6 +60,8 @@ steps:
|
||||
galaxy: ./.ansible-items/requirements.yml
|
||||
private_key:
|
||||
from_secret: deploy_ssh_key
|
||||
password:
|
||||
from_secret: deploy_ssh_key_password
|
||||
environment:
|
||||
DEPLOY_HOSTNAME:
|
||||
from_secret: deploy_hostname
|
||||
|
Loading…
x
Reference in New Issue
Block a user