From ecc308735c8b8241ab841aac7ab264fc7df5a6dd Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 19 Feb 2022 18:22:44 +0100 Subject: [PATCH] Add pub key --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3207f2d..585deb0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,4 +27,4 @@ steps: - terraform validate - terraform apply -auto-approve -var "hcloud_token=$HCLOUD_TOKEN" -var "pvt_key=../ssh_keys/id_ed25519" -var "pub_key=../ssh_keys/id_ed25519.pub" -var "hcloud_serverctl_ssh_key_id=$HCLOUD_SSH_KEY_ID" - cd ansible - - ANSIBLE_HOST_KEY_CHECKING=False /usr/bin/ansible-playbook -i 'inventory/hosts.cfg' -u root --key-file '../../ssh_keys/id_ed25519' server-install.yml + - ANSIBLE_HOST_KEY_CHECKING=False /usr/bin/ansible-playbook -i 'inventory/hosts.cfg' -u root --key-file '../../ssh_keys/id_ed25519' -e 'pub_key=../../ssh_keys/id_ed25519.pub' server-install.yml