Bläddra i källkod

display setup

master
förälder
incheckning
ba1d276d56
3 ändrade filer med 15 tillägg och 1 borttagningar
  1. +9
    -1
      tasks/main.yml
  2. +3
    -0
      templates/display-setup.sh.j2
  3. +3
    -0
      templates/lightdm.conf.j2

+ 9
- 1
tasks/main.yml Visa fil

@@ -40,7 +40,15 @@
template:
src: lightdm-gtk-greeter.conf.j2
dest: /etc/lightdm/lightdm-gtk-greeter.conf
#notify: restart lightdm
notify: restart lightdm

- name: lightdm display setup script
template:
src: display-setup.sh.j2
dest: /etc/lightdm/display-setup.sh
mode: u=rwx,g=rx,o=rx
when: display_setup_commands is defined
notify: restart lightdm

- name: download background image
get_url:


+ 3
- 0
templates/display-setup.sh.j2 Visa fil

@@ -0,0 +1,3 @@
#!/bin/sh

{{ display_setup_commands | join("\n") }}

+ 3
- 0
templates/lightdm.conf.j2 Visa fil

@@ -82,6 +82,9 @@ autologin-user-timeout=0
user-session=mainentance
{% endif %}

{% if display_setup_commands is defined %}
display-setup-script=/etc/lightdm/display-setup.sh
{% endif %}
#
# XDMCP Server configuration
#


Laddar…
Avbryt
Spara