add grub ansible role

This commit is contained in:
aaron
2021-08-24 13:22:50 +02:00
parent 2189406cc1
commit c0b2487c51
12 changed files with 327 additions and 0 deletions

15
tasks/configuration.yaml Normal file
View File

@@ -0,0 +1,15 @@
---
- name: create the grub configuration
template:
src: etc/default/grub.j2
dest: '{{ grub_cfg }}'
owner: root
group: root
mode: 0644
seuser: system_u
serole: object_r
setype: bootloader_etc_t
selevel: s0
notify:
- 'grub update config'