From 2337addfb5ceb2ad31a1393101498161a85528b9 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sat, 24 Nov 2018 16:53:13 +0100 Subject: [PATCH] ansible/preseed: Fixup access to the `install` object --- ansible/roles/preseed/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4