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:
parent
3a9e64f503
commit
2ead123781
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue