blob: 13836991f2c475545495181caa317326660d8a33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
- name: Set up repository
ansible.builtin.include_role:
name: debian_ppa
vars:
ppa_owner: egor-tensin
ppa_name: linux-status
ppa_distro: focal
ppa_key: ecb69cbafc6d7cd8bd67ec35b1089b3051c9384d
- name: Install linux-status
become: true
ansible.builtin.apt:
install_recommends: false
name: linux-status
- name: Disable power management
when: linux_status_disable_power_management
ansible.builtin.include_role:
name: systemd_edit
vars:
service_name: linux-status
service_section: Service
service_option: ExecStart
service_values: ['', '/usr/bin/python3 -B server.py --disable-power']
|