Add boot loader configuration file
This commit is contained in:
parent
43d470edf3
commit
82c451aa4e
2 changed files with 17 additions and 1 deletions
|
|
@ -1,11 +1,18 @@
|
||||||
---
|
---
|
||||||
- name: Provision pollkit administrator configuration
|
- name: Provision polkit administrator configuration
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "templates/polkit.j2"
|
src: "templates/polkit.j2"
|
||||||
dest: "/etc/polkit-1/rules.d/49-nopasswd_global.rules"
|
dest: "/etc/polkit-1/rules.d/49-nopasswd_global.rules"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: Provision systemd-boot loader configuration
|
||||||
|
become: true
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: "templates/loader.j2"
|
||||||
|
dest: "/boot/loader/loader.conf"
|
||||||
|
mode: "0755"
|
||||||
|
|
||||||
- name: Install shared packages
|
- name: Install shared packages
|
||||||
become: true
|
become: true
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
|
|
|
||||||
9
templates/loader.j2
Normal file
9
templates/loader.j2
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
|
timeout 5
|
||||||
|
editor yes
|
||||||
|
console-mode max
|
||||||
|
auto-entries yes
|
||||||
|
auto-firmware yes
|
||||||
|
auto-reboot yes
|
||||||
|
auto-poweroff yes
|
||||||
Loading…
Add table
Add a link
Reference in a new issue