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'
|
- 'os-prober'
|
||||||
|
|
||||||
- name: "Enable lightdm"
|
- name: "Enable lightdm"
|
||||||
service:
|
systemd:
|
||||||
name: "lightdm"
|
name: "lightdm"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
state: started
|
||||||
|
|
||||||
- name: "Disable PC Speaker"
|
- name: "Disable PC Speaker"
|
||||||
modprobe:
|
modprobe:
|
||||||
|
|
|
@ -11,9 +11,10 @@
|
||||||
|
|
||||||
|
|
||||||
- name: "Enable redis"
|
- name: "Enable redis"
|
||||||
service:
|
systemd:
|
||||||
name: "redis"
|
name: "redis"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
state: started
|
||||||
|
|
||||||
|
|
||||||
- name: "Clone DabApps Dotfiles"
|
- name: "Clone DabApps Dotfiles"
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
- ntp
|
- ntp
|
||||||
|
|
||||||
- name: Enable NTP service
|
- name: Enable NTP service
|
||||||
service:
|
systemd:
|
||||||
name: "ntpd"
|
name: "ntpd"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
state: started
|
||||||
|
|
|
@ -17,17 +17,19 @@
|
||||||
- xfce4-power-manager
|
- xfce4-power-manager
|
||||||
|
|
||||||
- name: Enable TLP services
|
- name: Enable TLP services
|
||||||
service:
|
systemd:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
state: started
|
||||||
with_items:
|
with_items:
|
||||||
- tlp
|
- tlp
|
||||||
- tlp-sleep
|
- tlp-sleep
|
||||||
|
|
||||||
- name: Enable NBFC
|
- name: Enable NBFC
|
||||||
service:
|
systemd:
|
||||||
name: nbfc
|
name: nbfc
|
||||||
enabled: true
|
enabled: true
|
||||||
|
state: started
|
||||||
|
|
||||||
- name: Install TLP config
|
- name: Install TLP config
|
||||||
copy:
|
copy:
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
owner: "{{ user }}"
|
owner: "{{ user }}"
|
||||||
|
|
||||||
- name: Enable opensnitch
|
- name: Enable opensnitch
|
||||||
service:
|
systemd:
|
||||||
name: "opensnitchd"
|
name: "opensnitchd"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
state: started
|
||||||
|
|
Loading…
Reference in a new issue