0
0
vps-set-up-playbook/roles/oracle-grub/tasks/main.yaml

15 lines
317 B
YAML
Raw Permalink Normal View History

2023-11-25 08:10:49 +08:00
- 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"]