-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathhw-think.yml
42 lines (38 loc) · 920 Bytes
/
hw-think.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
- name: Arch Tasks
when: ansible_distribution == 'Archlinux'
block:
- name: Arch | Installing software for Lenovo Thinkpad notebooks
community.general.pacman:
name:
- acpi_call-dkms
- lm_sensors
#- tlp
#- tlp-rdw
state: latest
update_cache: true
become: true
- name: Arch | Installing software from aur
kewlfft.aur.aur:
name:
- thinkfan
- auto-cpufreq
- tp_smapi-dkms
state: latest
- name: Common | Enabling systemd units
ansible.builtin.systemd:
name: "{{ item }}"
enabled: true
daemon_reload: true
become: true
with_items:
#- tlp
- auto-cpufreq
- name: Common | Masking systemd-rfkill units
ansible.builtin.systemd:
name: "{{ item }}"
masked: true
become: true
with_items:
- systemd-rfkill.service
- systemd-rfkill.socket