fix regexp
This commit is contained in:
parent
622d3e72e7
commit
f7db7eac04
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user