mirror of
https://github.com/foo-dogsquared/ansible-playbooks.git
synced 2025-02-07 12:19:11 +00:00
21 lines
667 B
YAML
21 lines
667 B
YAML
---
|
|
- name: Install dconf keyfiles
|
|
copy:
|
|
src: "{{ role_path }}/files/dconf/"
|
|
dest: "{{ '/etc/dconf/db/local.d' if ansible_facts['distribution'] == 'Fedora' else '/etc/dconf/db/a-happy-gnome.d' }}"
|
|
|
|
- name: Set 'user' dconf profile with the custom GNOME config
|
|
ansible.builtin.shell: grep "system-db:a-happy-gnome" && echo "system-db:a-happy-gnome" >> /etc/dconf/profile/user
|
|
when: ansible_facts["distribution"] != "Fedora"
|
|
|
|
- name: Update dconf database
|
|
ansible.builtin.shell: dconf update
|
|
|
|
- name: Install GNOME extension manager
|
|
flatpak:
|
|
state: present
|
|
name: "{{ item }}"
|
|
remote: flathub
|
|
loop:
|
|
- com.mattjakeman.ExtensionManager
|