24 lines
423 B
YAML
24 lines
423 B
YAML
---
|
|
|
|
- name: Install redshift
|
|
package:
|
|
name: redshift
|
|
state: present
|
|
|
|
|
|
- name: Ensure .config folder for redshift exists
|
|
file:
|
|
path: ~/.config/redshift
|
|
state: directory
|
|
|
|
- name: Template redshift config
|
|
template:
|
|
src: redshift.conf.j2
|
|
dest: ~/.config/redshift/redshift.conf
|
|
|
|
- name: Template redshift autostart file
|
|
template:
|
|
src: redshift-gtk.desktop.j2
|
|
dest: redshift-gtk.desktop
|
|
|