15 lines
317 B
YAML
15 lines
317 B
YAML
- name: Set up Grub
|
|
template:
|
|
src: "grub.j2"
|
|
dest: "/etc/default/grub"
|
|
owner: 0
|
|
group: 0
|
|
mode: 0644
|
|
when: inventory_hostname in groups["oracle"]
|
|
|
|
- name: System | GRUB | Update GRUB
|
|
become: true
|
|
ansible.builtin.command:
|
|
cmd: update-grub2
|
|
when: inventory_hostname in groups["oracle"]
|