Minor adjustments

- Add seedrng service to 'boot' runlevel
- Move nftables, iwd services to 'boot' runlevel (`before net`)
- Change APK mirror
- Remove custom pam_rundir entry (it is presented in linux-pam package now)
This commit is contained in:
Hoang Nguyen 2023-01-24 23:29:06 +07:00
parent 3a9e64f503
commit 2ead123781
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
5 changed files with 7 additions and 19 deletions

View File

@ -2,7 +2,8 @@
# Custom variables ────────────────────────────────────────────────────────────
# NOTE: for variables checked in `reqirements/accepted_variables.yml`, keep them as top-level
repository: https://mirror.math.princeton.edu/pub/alpinelinux
# 100Gbps blazingly fast
repository: https://ftp.udx.icscoe.jp/Linux/alpine
rootfs: btrfs

View File

@ -103,9 +103,7 @@
runlevel: boot
enabled: true
state: started
loop:
- consolefont
- syslog
loop: ['consolefont', 'seedrng', 'syslog']
- name: essential | Start services on runlevel 'default'
service:

View File

@ -22,11 +22,11 @@
group: root
mode: 0644
- name: networking | Start iwd service on runlevel 'default'
- name: networking | Start iwd service on runlevel 'boot'
vars:
iwd_service: '{{ iwd_without_dbus | ternary("eiwd", "iwd") }}'
service:
name: '{{ iwd_service }}'
runlevel: default
runlevel: boot
enabled: true
state: started

View File

@ -12,8 +12,8 @@
group: root
mode: 0644
- name: nftables | Add nftables service to runlevel 'default'
- name: nftables | Add nftables service to runlevel 'boot'
service:
name: nftables
runlevel: default
runlevel: boot
enabled: true

View File

@ -21,17 +21,6 @@
name: pam-rundir
state: present
- name: seat | Add pam_rundir.so to /etc/pam.d/base-session
pamd:
name: base-session
type: -session
control: optional
module_path: pam_elogind.so
new_type: -session
new_control: optional
new_module_path: pam_rundir.so
state: after
- name: seat | Install polkit
community.general.apk:
name: polkit