2019-05-02 18:03:49 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install redshift
|
|
|
|
package:
|
|
|
|
name: redshift
|
|
|
|
state: present
|
2019-06-21 19:16:12 +00:00
|
|
|
ignore_errors: true
|
2019-05-18 18:07:11 +00:00
|
|
|
|
2019-05-02 18:03:49 +00:00
|
|
|
- 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
|
2019-05-18 18:07:11 +00:00
|
|
|
dest: ~/.config/autostart/redshift-gtk.desktop
|
2019-05-02 18:03:49 +00:00
|
|
|
|