Extract DConf dependencies into a separate role

Both GDM and GNOME uses DConf to manage its own configuration. Extract
the common dependencies into a separate role called "dconf".
DConf provides:
  - creating empty directories for configuration
  - handler to apply configuration when configuration has changed
This commit is contained in:
Géza Búza 2018-04-27 16:36:00 +02:00
parent 8d8ec13b8f
commit 9f9ecfcbaf
4 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,6 @@
---
- name: Creating DConf database directory
file: path=/etc/dconf/db state=directory mode=0755 recurse=yes
- name: Creating DConf profile directory
file: path=/etc/dconf/profile state=directory mode=0755 recurse=yes

3
roles/gdm/meta/main.yml Normal file
View file

@ -0,0 +1,3 @@
---
dependencies:
- { role: dconf }

View file

@ -1,5 +1,6 @@
---
dependencies:
- { role: dconf }
- { role: x }
- { role: gdm }
- { role: networkmanager }