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
Signed by: transcaffeine
GPG Key ID: 03624C433676E465
3 changed files with 12 additions and 2 deletions

View File

@ -12,3 +12,7 @@ gnupg:
hosts: hosts:
xenon: 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 name: redshift
state: present state: present
- name: Ensure .config folder for redshift exists - name: Ensure .config folder for redshift exists
file: file:
path: ~/.config/redshift path: ~/.config/redshift
@ -19,5 +18,5 @@
- name: Template redshift autostart file - name: Template redshift autostart file
template: template:
src: redshift-gtk.desktop.j2 src: redshift-gtk.desktop.j2
dest: redshift-gtk.desktop dest: ~/.config/autotstart/redshift-gtk.desktop