Use systemd modules
This commit is contained in:
parent
ce40dfb6cd
commit
91dd471ed2
5 changed files with 12 additions and 6 deletions
|
@ -13,9 +13,10 @@
|
|||
- 'os-prober'
|
||||
|
||||
- name: "Enable lightdm"
|
||||
service:
|
||||
systemd:
|
||||
name: "lightdm"
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
- name: "Disable PC Speaker"
|
||||
modprobe:
|
||||
|
|
|
@ -11,9 +11,10 @@
|
|||
|
||||
|
||||
- name: "Enable redis"
|
||||
service:
|
||||
systemd:
|
||||
name: "redis"
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
|
||||
- name: "Clone DabApps Dotfiles"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
- ntp
|
||||
|
||||
- name: Enable NTP service
|
||||
service:
|
||||
systemd:
|
||||
name: "ntpd"
|
||||
enabled: true
|
||||
state: started
|
||||
|
|
|
@ -17,17 +17,19 @@
|
|||
- xfce4-power-manager
|
||||
|
||||
- name: Enable TLP services
|
||||
service:
|
||||
systemd:
|
||||
name: "{{ item }}"
|
||||
enabled: true
|
||||
state: started
|
||||
with_items:
|
||||
- tlp
|
||||
- tlp-sleep
|
||||
|
||||
- name: Enable NBFC
|
||||
service:
|
||||
systemd:
|
||||
name: nbfc
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
- name: Install TLP config
|
||||
copy:
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
owner: "{{ user }}"
|
||||
|
||||
- name: Enable opensnitch
|
||||
service:
|
||||
systemd:
|
||||
name: "opensnitchd"
|
||||
enabled: true
|
||||
state: started
|
||||
|
|
Loading…
Reference in a new issue