test
This commit is contained in:
parent
398dce23b3
commit
60dfa646cd
@ -28,7 +28,7 @@ steps:
|
|||||||
DEPLOY_PRIVATE_KEY:
|
DEPLOY_PRIVATE_KEY:
|
||||||
from_secret: deploy_ssh_key
|
from_secret: deploy_ssh_key
|
||||||
commands:
|
commands:
|
||||||
- printf "[ssh_connection]\ncontrol_path_dir=/dev/shm/ansible_control_path" > /etc/ansible/ansible.cfg
|
- printf "[ssh_connection]\ncontrol_path_dir=/dev/shm/ansible_control_path\nssh_args=''" > /etc/ansible/ansible.cfg
|
||||||
- sed -i 's/{{ SPT_ITEMS_HOSTNAME }}/'"$SPT_ITEMS_HOSTNAME"'/g' ./items/frontend/.env.example
|
- sed -i 's/{{ SPT_ITEMS_HOSTNAME }}/'"$SPT_ITEMS_HOSTNAME"'/g' ./items/frontend/.env.example
|
||||||
- mv ./items/frontend/.env.example ./items/frontend/.env
|
- mv ./items/frontend/.env.example ./items/frontend/.env
|
||||||
- echo "$DEPLOY_PRIVATE_KEY" > private.key && chmod 600 private.key
|
- echo "$DEPLOY_PRIVATE_KEY" > private.key && chmod 600 private.key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user