diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-04-23 01:24:38 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-04-23 01:24:38 +0200 |
commit | 17077868e615fa7115abdb03a5af4662ab0a3679 (patch) | |
tree | 22cb752792c3410bcfe8ce856b9746cad1ccf8d3 /roles/installer/debian/preseed/tasks/main.yml | |
parent | remove spreadspace k8s-test cluster (diff) |
refactor all install roles ans playbooks to work with new variable install_hostname
Diffstat (limited to 'roles/installer/debian/preseed/tasks/main.yml')
-rw-r--r-- | roles/installer/debian/preseed/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/installer/debian/preseed/tasks/main.yml b/roles/installer/debian/preseed/tasks/main.yml index b1b5d275..aa71335e 100644 --- a/roles/installer/debian/preseed/tasks/main.yml +++ b/roles/installer/debian/preseed/tasks/main.yml @@ -2,12 +2,12 @@ - name: Copy initramfs into position copy: remote_src: yes - src: "{{ installer_path | mandatory }}/{{ install_distro }}-{{ install_codename }}/{{ hostvars[hostname].install_cooked.arch | default('amd64') }}/initrd.gz" + src: "{{ installer_path | mandatory }}/{{ install_distro }}-{{ install_codename }}/{{ hostvars[install_hostname].install_cooked.arch | default('amd64') }}/initrd.gz" dest: "{{ preseed_tmpdir }}/initrd.preseed.gz" - name: Generate preseed file template: - src: "preseed_{{ hostvars[hostname].preseed_template_name | default(install_distro + '-' + install_codename) }}.cfg.j2" + src: "preseed_{{ hostvars[install_hostname].preseed_template_name | default(install_distro + '-' + install_codename) }}.cfg.j2" dest: "{{ preseed_tmpdir }}/preseed.cfg" - name: Generate authorized_keys file |