feat: Add passphrase capabilities for SSH key #11

Merged
Ghost merged 50 commits from :development into development 2021-11-03 21:21:45 -04:00
Showing only changes of commit 5dfef566ab - Show all commits

View File

@ -48,6 +48,10 @@ steps:
inventory: ./.ansible-items/inventory inventory: ./.ansible-items/inventory
galaxy: ./.ansible-items/requirements.yml galaxy: ./.ansible-items/requirements.yml
syntax_check: true syntax_check: true
when:
branch:
- development
- name: apply ansible playbook - name: apply ansible playbook
image: plugins/ansible:3 image: plugins/ansible:3
settings: settings:
@ -56,6 +60,8 @@ steps:
galaxy: ./.ansible-items/requirements.yml galaxy: ./.ansible-items/requirements.yml
private_key: private_key:
from_secret: deploy_ssh_key from_secret: deploy_ssh_key
password:
from_secret: deploy_ssh_key_password
environment: environment:
DEPLOY_HOSTNAME: DEPLOY_HOSTNAME:
from_secret: deploy_hostname from_secret: deploy_hostname