em
/
gjk-ansible-fedora
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

47 lines
1.3 KiB
YAML

- name: GJK GNOME configuration
hosts: all
user: administrator
become: true
tasks:
- name: Pin applications to dash
copy:
src: 'gdm/dash'
dest: '/etc/dconf/db/local.d/dash'
- name: Set wallpaper
copy: src={{ item.src }} dest={{ item.dest }}
with_items:
- { src: 'gdm/wallpaper', dest: '/etc/dconf/db/local.d/wallpaper' }
- { src: 'files/wallpaper.jpg', dest: '/usr/local/share/wallpaper.jpg' }
- name: GDM usernames profile
copy:
src: 'gdm/profile'
dest: '/etc/dconf/profile/gdm'
- name: GDM login screen configuration - don't show all users
copy:
src: 'gdm/login-screen'
dest: '/etc/dconf/db/gdm.d/login-screen'
- name: GDM login screen configuration - disable accessibility
# Not working, perhaps broken GDM
copy:
src: 'gdm/accessibility'
dest: '/etc/dconf/db/gdm.d/accessibility'
- name: GDM screensaver with short delay
copy:
src: 'gdm/screensaver-short'
dest: '/etc/dconf/db/local.d/screensaver'
- name: GDM screensaver with long delay
when: inventory_hostname in groups['ucitelske']
copy:
src: 'gdm/screensaver-long'
dest: '/etc/dconf/db/local.d/screensaver'
- name: Update dconf database
command: "dconf update"