fix: remove password
This commit is contained in:
parent
312dbd65f6
commit
1424218d36
@ -6,6 +6,5 @@ all:
|
|||||||
ansible_host: {{ DEPLOY_HOSTNAME }}
|
ansible_host: {{ DEPLOY_HOSTNAME }}
|
||||||
ansible_user: {{ DEPLOY_USER }}
|
ansible_user: {{ DEPLOY_USER }}
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_ssh_pass: {{ DEPLOY_SSH_KEY_PASSPHRASE }}
|
|
||||||
ansible_ssh_user: {{ DEPLOY_USER }}
|
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
|
||||||
|
@ -135,6 +135,7 @@ steps:
|
|||||||
- sed -i 's/{{ DEPLOY_HOSTNAME }}/'"$DEPLOY_HOSTNAME"'/g' ./.ansible-website/inventory
|
- 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_SSH_KEY_PASSPHRASE }}/'"$DEPLOY_SSH_KEY_PASSPHRASE"'/g' ./.ansible-website/inventory
|
||||||
- sed -i 's/{{ DEPLOY_USER }}/'"$DEPLOY_USER"'/g' ./.ansible-website/inventory
|
- sed -i 's/{{ DEPLOY_USER }}/'"$DEPLOY_USER"'/g' ./.ansible-website/inventory
|
||||||
|
- echo "$DEPLOY_USER"
|
||||||
|
|
||||||
- name: check website ansible syntax
|
- name: check website ansible syntax
|
||||||
image: plugins/ansible:3
|
image: plugins/ansible:3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user