From 80353518f2867c71d8e3b537f51dff8148b26c4a Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Mon, 31 Jul 2023 22:26:26 +0200 Subject: [PATCH] =?UTF-8?q?update=20auf=2012.1.=C3=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 4d91dc6..a076089 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: check if iso exists stat: - path: "{{ playbook_dir }}/debian-12.0.0-amd64-netinst-unattended-{{ inventory_hostname }}.iso" + path: "{{ playbook_dir }}/debian-12.1.0-amd64-netinst-unattended-{{ inventory_hostname }}.iso" delegate_to: localhost register: iso_exists @@ -10,7 +10,7 @@ when: iso_exists.stat.exists - name: install stuff - apt: + package: name: - xorriso - unzip @@ -26,8 +26,8 @@ - name: Download ISO Image get_url: - url: "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.0.0-amd64-netinst.iso" - dest: "/opt/ansiblepackages/debianunattended/debian-12.0.0-amd64-netinst.iso" + url: "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.1.0-amd64-netinst.iso" + dest: "/opt/ansiblepackages/debianunattended/debian-12.1.0-amd64-netinst.iso" delegate_to: localhost - name: delete old stuff @@ -37,7 +37,7 @@ delegate_to: localhost - name: extract ISO Image - command: "xorriso -osirrox on -indev /opt/ansiblepackages/debianunattended/debian-12.0.0-amd64-netinst.iso -extract / /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles/" + command: "xorriso -osirrox on -indev /opt/ansiblepackages/debianunattended/debian-12.1.0-amd64-netinst.iso -extract / /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles/" args: creates: "/opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles/install.amd/initrd.gz" delegate_to: localhost @@ -147,5 +147,5 @@ delegate_to: localhost - name: genisoimage - command: "genisoimage -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o {{ playbook_dir }}/debian-12.0.0-amd64-netinst-unattended-{{ inventory_hostname }}.iso /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles" + command: "genisoimage -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o {{ playbook_dir }}/debian-12.1.0-amd64-netinst-unattended-{{ inventory_hostname }}.iso /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles" delegate_to: localhost