Browse Source

Merge branch 'master' of git.devops.thengo.intranet:kita-pro/ansible-role-kita-pro-desktop

master
Markus Brechtel 5 years ago
parent
commit
a12a069874
3 changed files with 7 additions and 3 deletions
  1. +2
    -0
      defaults/main.yml
  2. +4
    -2
      tasks/main.yaml
  3. +1
    -1
      templates/xfce4-panel.xml.j2

+ 2
- 0
defaults/main.yml View File

@@ -33,3 +33,5 @@ install_cewe_fotobuch: false
kiosk_unlocked_users: root kiosk_unlocked_users: root


xfwm4_use_compositing: true xfwm4_use_compositing: true

xfce_lock_panel: true

+ 4
- 2
tasks/main.yaml View File

@@ -2,10 +2,13 @@


- import_tasks: ac-power.yaml - import_tasks: ac-power.yaml


- name: display_manager_background_image set_fact workaround
set_fact:
display_manager_background_image: "{{role_path}}/files/background/{{ kitapro_background_image }}"

- import_role: - import_role:
name: display_manager name: display_manager
vars: vars:
display_manager_background_image: "background/{{ kitapro_background_image }}"
display_manager_state: maintenance display_manager_state: maintenance
display_manager_maintenance_text: Aktualisierungen werden durchgeführt – bitte nicht abschalten! display_manager_maintenance_text: Aktualisierungen werden durchgeführt – bitte nicht abschalten!
display_manager_maintenance_icon: system-software-update display_manager_maintenance_icon: system-software-update
@@ -29,5 +32,4 @@
- import_role: - import_role:
name: display_manager name: display_manager
vars: vars:
display_manager_background_image: "background/{{ kitapro_background_image }}"
display_manager_state: multiuser display_manager_state: multiuser

+ 1
- 1
templates/xfce4-panel.xml.j2 View File

@@ -5,7 +5,7 @@
{% set application_starters = application_starters + ["kitaplus"] %} {% set application_starters = application_starters + ["kitaplus"] %}
{% endif %} {% endif %}


<channel name="xfce4-panel" version="1.0" locked="*" unlocked="{{kiosk_unlocked_users}}">
<channel name="xfce4-panel" version="1.0" {% if xfce_lock_panel %} locked="*" unlocked="{{kiosk_unlocked_users}}" {% endif %}>
<property name="configver" type="int" value="2"/> <property name="configver" type="int" value="2"/>
<property name="panels" type="array"> <property name="panels" type="array">
<value type="int" value="1"/> <value type="int" value="1"/>


Loading…
Cancel
Save