From 2f548a512345e9208991219443315df305724997 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 9 Mar 2024 04:37:29 +0100 Subject: raspios: add support for bookworm --- roles/raspios/image/tasks/main.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'roles/raspios/image/tasks/main.yml') diff --git a/roles/raspios/image/tasks/main.yml b/roles/raspios/image/tasks/main.yml index b6a56bd2..b8296f9a 100644 --- a/roles/raspios/image/tasks/main.yml +++ b/roles/raspios/image/tasks/main.yml @@ -5,16 +5,6 @@ that: - "'raspios' in group_names" -- name: fetch os list from download server - check_mode: no - uri: - url: "{{ raspios_download_url }}/os_list_v3.json" - body_format: json - register: raspios_os_list - -- set_fact: - raspios_download_base_url: "{{ raspios_os_list.json.os_list | raspios_extract_download_base_url(raspios_variant, raspios_codename, raspios_arch) }}" - - name: fetch base image run_once: true import_tasks: fetch.yml @@ -83,9 +73,9 @@ - name: edit boot/cmdline.txt lineinfile: path: "{{ raspios_image_mount_point }}/cmdline.txt" - regexp: '^(.*)( systemd.run=/boot/firstrun.sh systemd.run_success_action=reboot systemd.unit=kernel-command-line.target)?(.*?)$' + regexp: '^(.*)( systemd.run=/boot/firstrun.sh systemd.run_success_action=reboot systemd.run_failure_action=none systemd.unit=kernel-command-line.target)?(.*?)$' backrefs: yes - line: '\1 systemd.run=/boot/firstrun.sh systemd.run_success_action=reboot systemd.unit=kernel-command-line.target \3' + line: '\1 systemd.run=/boot/firstrun.sh systemd.run_success_action=reboot systemd.run_failure_action=none systemd.unit=kernel-command-line.target \3' always: - name: unmount image -- cgit v1.2.3