Browse Source

dconf rename

master
parent
commit
4cdd31eb27
2 changed files with 9 additions and 6 deletions
  1. +3
    -2
      tasks/dconf.yaml
  2. +6
    -4
      tasks/screensaver.yaml

tasks/dconf-lock.yaml → tasks/dconf.yaml View File

@@ -24,7 +24,7 @@
- name: dconf settings
template:
src: dconf-lock/settings.j2
dest: /etc/dconf/db/local.d/{{dconf_lock_id}}
dest: /etc/dconf/db/local.d/{{dconf_id}}
notify: dconf update

- name: dconf locks directory
@@ -35,5 +35,6 @@
- name: dconf locks
template:
src: dconf-lock/locks.j2
dest: /etc/dconf/db/local.d/locks/{{dconf_lock_id}}
dest: /etc/dconf/db/local.d/locks/{{dconf_id}}
when: dconf_lock_paths is defined
notify: dconf update

+ 6
- 4
tasks/screensaver.yaml View File

@@ -21,15 +21,17 @@
dest: /usr/local/bin/mate-screensaver-helper-inhibition
mode: 0755

- import_tasks: dconf-lock.yaml
- import_tasks: dconf.yaml
vars:
dconf_lock_id: screensaver
dconf_id: screensaver
dconf_lock_settings:
/org/mate/screensaver:
idle-activation-enabled: 'true'
lock-enabled: 'true'
mode: "'single'"
themes: "['{{screensaver_theme}}']"
mode:
- single
themes:
- "{{screensaver_theme}}"
/org/mate/desktop/session:
idle-delay: "{{ screensaver_locktime | int }}"
/org/mate/power-manager: