Use systemd modules

This commit is contained in:
Jake Howard 2019-05-26 11:52:41 +01:00
parent ce40dfb6cd
commit 91dd471ed2
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 12 additions and 6 deletions

View file

@ -13,9 +13,10 @@
- 'os-prober'
- name: "Enable lightdm"
service:
systemd:
name: "lightdm"
enabled: true
state: started
- name: "Disable PC Speaker"
modprobe:

View file

@ -11,9 +11,10 @@
- name: "Enable redis"
service:
systemd:
name: "redis"
enabled: true
state: started
- name: "Clone DabApps Dotfiles"

View file

@ -9,6 +9,7 @@
- ntp
- name: Enable NTP service
service:
systemd:
name: "ntpd"
enabled: true
state: started

View file

@ -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:

View file

@ -26,6 +26,7 @@
owner: "{{ user }}"
- name: Enable opensnitch
service:
systemd:
name: "opensnitchd"
enabled: true
state: started