From 2461e7d5e976c6a44159315a8a25389f6f1be540 Mon Sep 17 00:00:00 2001 From: Mangiang Date: Tue, 2 Nov 2021 14:15:57 -0400 Subject: [PATCH] test --- .drone-kubernetes.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone-kubernetes.yml b/.drone-kubernetes.yml index 784495e..1cc727a 100644 --- a/.drone-kubernetes.yml +++ b/.drone-kubernetes.yml @@ -28,6 +28,7 @@ steps: DEPLOY_PRIVATE_KEY: from_secret: deploy_ssh_key commands: + - printf "[ssh_connection]\ncontrol_path_dir=/dev/shm/ansible_control_path" > ~/.ansible.cfg - sed -i 's/{{ SPT_ITEMS_HOSTNAME }}/'"$SPT_ITEMS_HOSTNAME"'/g' ./items/frontend/.env.example - mv ./items/frontend/.env.example ./items/frontend/.env - echo "$DEPLOY_PRIVATE_KEY" > private.key && chmod 600 private.key @@ -79,8 +80,6 @@ steps: from_secret: deploy_path ANSIBLE_DEBUG: true PLUGIN_ANSIBLE_DEBUG: true - ANSIBLE_CONFIG: "[ssh_connection]\ncontrol_path_dir=/dev/shm/ansible_control_path" - PLUGIN_ANSIBLE_CONFIG: "[ssh_connection]\ncontrol_path_dir=/dev/shm/ansible_control_path" when: branch: - master