mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
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:
parent
8d8ec13b8f
commit
9f9ecfcbaf
4 changed files with 10 additions and 0 deletions
6
roles/dconf/tasks/main.yml
Normal file
6
roles/dconf/tasks/main.yml
Normal 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
3
roles/gdm/meta/main.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: dconf }
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: dconf }
|
||||
- { role: x }
|
||||
- { role: gdm }
|
||||
- { role: networkmanager }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue