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

View file

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

View file

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

View file

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

View file

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