fix regexp

This commit is contained in:
Chris Hammer 2025-02-24 16:48:29 -05:00
parent 622d3e72e7
commit f7db7eac04

View File

@ -68,6 +68,7 @@
- name: Update ReaR Grub menu item - name: Update ReaR Grub menu item
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: "{{ rear_grub_conf }}" path: "{{ rear_grub_conf }}"
regexp: '^menuentry '
line: "menuentry '{{ rear_grub_label }}' --class os {" line: "menuentry '{{ rear_grub_label }}' --class os {"
state: present state: present
notify: Update Grub notify: Update Grub