Add redshift play, add redshift group to inventory

This commit is contained in:
Johanna Dorothea Reichmann 2019-05-05 18:22:49 +02:00
parent 08e94d0bd5
commit 48ef2075fa
No known key found for this signature in database
GPG Key ID: 03624C433676E465
3 changed files with 12 additions and 2 deletions

View File

@ -12,3 +12,7 @@ gnupg:
hosts:
xenon:
redshift:
hosts:
xenon:

7
redshift.yml Normal file
View File

@ -0,0 +1,7 @@
---
- name: Sets up redshift and creates an autostart file
hosts: redshift
become: true
roles:
- redshift

View File

@ -5,7 +5,6 @@
name: redshift
state: present
- name: Ensure .config folder for redshift exists
file:
path: ~/.config/redshift
@ -19,5 +18,5 @@
- name: Template redshift autostart file
template:
src: redshift-gtk.desktop.j2
dest: redshift-gtk.desktop
dest: ~/.config/autotstart/redshift-gtk.desktop