feat: Add passphrase capabilities for SSH key #11
@ -58,11 +58,6 @@ steps:
|
||||
branch:
|
||||
- development
|
||||
|
||||
- name: add ansible config
|
||||
image: ubuntu:impish
|
||||
commands:
|
||||
- mkdir -p /etc/ansible && printf "[ssh_connection]\ncontrol_path_dir=/dev/shm/ansible_control_path\nssh_args=''" > /etc/ansible/ansible.cfg
|
||||
|
||||
- name: apply ansible playbook
|
||||
image: plugins/ansible:3
|
||||
settings:
|
||||
@ -84,6 +79,10 @@ steps:
|
||||
from_secret: deploy_path
|
||||
ANSIBLE_DEBUG: true
|
||||
PLUGIN_ANSIBLE_DEBUG: true
|
||||
ANSIBLE_CONTROL_PATH: /dev/shm/
|
||||
PLUGIN_ANSIBLE_CONTROL_PATH: /dev/shm/
|
||||
ANSIBLE_SSH_ARGS: ''
|
||||
PLUGIN_ANSIBLE_SSH_ARGS: ''
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
Loading…
x
Reference in New Issue
Block a user