mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
illuminanced is now in extra
This commit is contained in:
parent
39c4256e32
commit
657edb8f0a
1 changed files with 3 additions and 17 deletions
|
|
@ -5,13 +5,9 @@
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Install illuminanced
|
- name: Install illuminanced
|
||||||
kewlfft.aur.aur:
|
pacman:
|
||||||
name: illuminanced-git
|
name: illuminanced
|
||||||
become: yes
|
|
||||||
become_user: "{{ aur.user }}"
|
|
||||||
when: illuminanced is defined
|
when: illuminanced is defined
|
||||||
tags:
|
|
||||||
- aur
|
|
||||||
|
|
||||||
- name: Set max backlight file
|
- name: Set max backlight file
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
@ -46,23 +42,13 @@
|
||||||
- name: Set min backlight value
|
- name: Set min backlight value
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/illuminanced.toml
|
dest: /etc/illuminanced.toml
|
||||||
regexp: ^min_backling
|
regexp: ^min_backlight
|
||||||
state: present
|
state: present
|
||||||
line: 'min_backlight = {{ illuminanced.min_backlight }}'
|
line: 'min_backlight = {{ illuminanced.min_backlight }}'
|
||||||
when: illuminanced.min_backlight is defined
|
when: illuminanced.min_backlight is defined
|
||||||
notify:
|
notify:
|
||||||
- restart illuminanced
|
- restart illuminanced
|
||||||
|
|
||||||
- name: Set log destination
|
|
||||||
lineinfile:
|
|
||||||
dest: /etc/illuminanced.toml
|
|
||||||
regexp: ^log_to
|
|
||||||
state: present
|
|
||||||
line: 'log_to = "syslog"'
|
|
||||||
when: illuminanced is defined
|
|
||||||
notify:
|
|
||||||
- restart illuminanced
|
|
||||||
|
|
||||||
- name: Enable and start illuminanced
|
- name: Enable and start illuminanced
|
||||||
service:
|
service:
|
||||||
name: illuminanced.service
|
name: illuminanced.service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue