From: nicoo Date: Sat, 24 Nov 2018 15:53:13 +0000 (+0100) Subject: ansible/preseed: Fixup access to the `install` object X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=2337addfb5ceb2ad31a1393101498161a85528b9;p=noc.git ansible/preseed: Fixup access to the `install` object --- diff --git a/ansible/roles/preseed/tasks/main.yml b/ansible/roles/preseed/tasks/main.yml index d458d49..e8e62e7 100644 --- a/ansible/roles/preseed/tasks/main.yml +++ b/ansible/roles/preseed/tasks/main.yml @@ -10,7 +10,7 @@ - name: Copy initramfs into position copy: remote_src: yes - src: "{{ debian_installer_path | mandatory }}/{{ distro }}-{{ distcodename }}/{{ install.arch | default('amd64') }}/initrd.gz" + src: "{{ debian_installer_path | mandatory }}/{{ distro }}-{{ distcodename }}/{{ hostvars[hostname].install_cooked.arch | default('amd64') }}/initrd.gz" dest: "{{ initramfs }}" - name: Generate preseed file