Adding etc, flatpak and rpm-ostree role

This commit is contained in:
2021-09-12 11:47:34 +02:00
parent a9974924f4
commit b85991f285
14 changed files with 258 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
- name: Check if BootLoaderSpec is enabled
ansible.builtin.lineinfile:
path: /etc/default/grub
line: 'GRUB_ENABLE_BLSCFG=true'
#regexp: '^GRUB_ENABLE_BLSCFG=[tT]rue'
state: present
check_mode: yes
register: conf
- name: Enable BootLoaderSpec
ansible.builtin.command:
cmd: grub2-switch-to-blscfg
become: yes
when:
- conf.changed != false