--- - name: Install redshift package: name: redshift state: present ignore_errors: true - 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: ~/.config/autostart/redshift-gtk.desktop