From d13d8c8b1ef7ca82258a41d91b5345ab93a8dd61 Mon Sep 17 00:00:00 2001 From: SPT-dev Date: Thu, 2 Mar 2023 21:13:50 -0500 Subject: [PATCH] fix: Add ssh passphrase back --- .ansible-website/inventory | 5 +++-- .drone-docker.yml | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ansible-website/inventory b/.ansible-website/inventory index fd4cae3..5301913 100644 --- a/.ansible-website/inventory +++ b/.ansible-website/inventory @@ -5,6 +5,7 @@ all: sp-tarkov: ansible_host: {{ DEPLOY_HOSTNAME }} ansible_user: {{ DEPLOY_USER }} - ansible_connection: ssh + ansible_connection: paramiko_ssh + ansible_ssh_pass: {{ DEPLOY_SSH_KEY_PASSPHRASE }} ansible_ssh_user: {{ DEPLOY_USER }} - ansible_ssh_private_key_file: /drone/src/private.key # Hardcoded because created by the Drone plugin + ansible_ssh_private_key_file: /drone/src/private.key # Hardcoded because created by the Drone plugin \ No newline at end of file diff --git a/.drone-docker.yml b/.drone-docker.yml index f5f893b..b12ddd6 100644 --- a/.drone-docker.yml +++ b/.drone-docker.yml @@ -135,7 +135,6 @@ steps: - sed -i 's/{{ DEPLOY_HOSTNAME }}/'"$DEPLOY_HOSTNAME"'/g' ./.ansible-website/inventory - sed -i 's/{{ DEPLOY_SSH_KEY_PASSPHRASE }}/'"$DEPLOY_SSH_KEY_PASSPHRASE"'/g' ./.ansible-website/inventory - sed -i 's/{{ DEPLOY_USER }}/'"$DEPLOY_USER"'/g' ./.ansible-website/inventory - - echo "$DEPLOY_USER" - name: check website ansible syntax image: plugins/ansible:3