Add missing ssh key reference during deployment
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-04-19 17:09:07 +02:00
parent dfdd2e0075
commit f44d7f9b58
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ steps:
- ansible-galaxy collection install -r requirements.yml
- |
ansible-playbook \
--extra-vars "repo_username=$${repo_username} repo_password=$${repo_password} hv_password=$${hv_password} root_password=$${root_password}" \
--extra-vars "repo_username=$${repo_username} repo_password=$${repo_password} hv_password=$${hv_password} root_password=$${root_password} private_key=$${private_key}" \
playbook.yml
environment:
repo_username:

View File

@ -31,7 +31,7 @@
properties:
guestinfo.hostname: "{{ cluster.name | upper }}-{{ (item.ip | checksum)[-5:] | upper }}"
guestinfo.rootpw: "{{ root_password }}"
guestinfo.rootsshkey: "foo"
guestinfo.rootsshkey: "{{ private_key }}"
guestinfo.ntpserver: "{{ network.ntpserver }}"
guestinfo.ipaddress: "{{ item.ip | ansible.utils.ipaddr('address') }}"
guestinfo.prefixlength: "{{ item.ip | ansible.utils.ipaddr('prefix') }}"