0
0
vps-set-up-playbook/roles/oracle-grub/tasks/main.yaml
2024-10-29 19:50:47 +08:00

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"]