fix: remove password
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is failing

This commit is contained in:
Mangiang 2022-05-08 23:25:31 -04:00
parent 312dbd65f6
commit 1424218d36
2 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,5 @@ all:
ansible_host: {{ DEPLOY_HOSTNAME }}
ansible_user: {{ DEPLOY_USER }}
ansible_connection: 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

View File

@ -135,6 +135,7 @@ 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