fix var names

master
Michael Wilson 3 years ago
parent be115585a8
commit a4367d48e2
  1. 4
      hetzner/autoinstall/tasks/main.yml
  2. 4
      hetzner/autoinstall/vars/main.yml

@ -9,7 +9,7 @@
- name: copy post install script
copy:
src: post-install.sh
dest: "{{ post_install_dest }}"
dest: "{{ autoinstall_post_install_dest }}"
owner: root
mode: "0755"
@ -19,7 +19,7 @@
dest: "{{ autoinstall_authorized_keys_dest }}"
- name: run autoinstall
command: "installimage -a -c {{ setup_conf_dest }} -x {{ post_install_dest }}"
command: "installimage -a -c {{ autoinstall_setup_conf_dest }} -x {{ autoinstall_post_install_dest }}"
- name: reboot
reboot:

@ -1,3 +1,3 @@
autoinstall_authorized_keys_dest: /tmp/authorized_keys
setup_conf_dest: /tmp/setup.conf
post_install_dest: /tmp/post-install.sh
autoinstall_setup_conf_dest: /tmp/setup.conf
autoinstall_post_install_dest: /tmp/post-install.sh

Loading…
Cancel
Save