diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-12-23 15:43:07 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-12-27 19:41:37 +0100 |
commit | 774f14cca2677b25047ccc17313acc53734bccde (patch) | |
tree | b0aff6577cfa7298cf267a069b99cbdb2c6984c3 /roles/ws/base/tasks/lightdm.yml | |
parent | ws/base: allow configuration of lightdm (diff) |
ws/base some more bits and pieces
Diffstat (limited to 'roles/ws/base/tasks/lightdm.yml')
-rw-r--r-- | roles/ws/base/tasks/lightdm.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/ws/base/tasks/lightdm.yml b/roles/ws/base/tasks/lightdm.yml index 0b90cdc1..57e2aeaf 100644 --- a/roles/ws/base/tasks/lightdm.yml +++ b/roles/ws/base/tasks/lightdm.yml @@ -2,20 +2,20 @@ - name: install lightdm default config when: ws_base_lightdm_defaults is defined copy: + dest: /etc/lightdm/lightdm.conf.d/defaults.conf content: | [Seat:*] {% for option, value in ws_base_lightdm_defaults.items() %} {{ option }}={{ value }} {% endfor %} - dest: /etc/lightdm/lightdm.conf.d/defaults.conf - ## not restarting lightdm because this would logg-off any logged in user! + notify: restart lightdm - name: remove lightdm default config when: ws_base_lightdm_defaults is not defined file: path: /etc/lightdm/lightdm.conf.d/defaults.conf state: absent - ## not restarting lightdm because this would logg-off any logged in user! + notify: restart lightdm - name: install xrandr setup script @@ -23,22 +23,22 @@ block: - name: install xrandr setup script copy: - content: "{{ ws_base_xrandr_setup_script }}" dest: /usr/local/bin/xrandr-setup.sh + content: "{{ ws_base_xrandr_setup_script }}" mode: 0755 - name: install xrandr setup script copy: + dest: /etc/lightdm/lightdm.conf.d/xrandr-setup.conf content: | [Seat:*] greeter-setup-script=/usr/local/bin/xrandr-setup.sh session-setup-script=/usr/local/bin/xrandr-setup.sh - dest: /etc/lightdm/lightdm.conf.d/xrandr-setup.conf - ## not restarting lightdm because this would logg-off any logged in user! + notify: restart lightdm - name: remove xrandr setup script config when: ws_base_xrandr_setup_script is not defined file: path: /etc/lightdm/lightdm.conf.d/xrandr-setup.conf state: absent - ## not restarting lightdm because this would logg-off any logged in user! + notify: restart lightdm |