mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-22 18:14:16 +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
|
||||
|
||||
- name: Install illuminanced
|
||||
kewlfft.aur.aur:
|
||||
name: illuminanced-git
|
||||
become: yes
|
||||
become_user: "{{ aur.user }}"
|
||||
pacman:
|
||||
name: illuminanced
|
||||
when: illuminanced is defined
|
||||
tags:
|
||||
- aur
|
||||
|
||||
- name: Set max backlight file
|
||||
lineinfile:
|
||||
|
|
@ -46,23 +42,13 @@
|
|||
- name: Set min backlight value
|
||||
lineinfile:
|
||||
dest: /etc/illuminanced.toml
|
||||
regexp: ^min_backling
|
||||
regexp: ^min_backlight
|
||||
state: present
|
||||
line: 'min_backlight = {{ illuminanced.min_backlight }}'
|
||||
when: illuminanced.min_backlight is defined
|
||||
notify:
|
||||
- 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
|
||||
service:
|
||||
name: illuminanced.service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue