2021-01-29 00:08:39 +00:00
|
|
|
---
|
|
|
|
- name: Queries package manager for communication installation
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- discord
|
|
|
|
- element-desktop
|
|
|
|
- evolution
|
|
|
|
- gnome-keyring
|
|
|
|
- gnome-themes-extra
|
|
|
|
- lxappearance
|
|
|
|
- seahorse
|
|
|
|
register: pkg_result
|
|
|
|
retries: 3
|
|
|
|
until: pkg_result is succeeded
|
|
|
|
|
|
|
|
- name: Create lxappearance directory hierarchy
|
|
|
|
file:
|
|
|
|
path: '{{ item }}'
|
|
|
|
state: directory
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0700
|
2021-01-29 00:08:39 +00:00
|
|
|
with_items:
|
|
|
|
- '.config/gtk-3.0/'
|
|
|
|
- '.icons/default/'
|
2021-03-17 23:25:44 +00:00
|
|
|
become_user: '{{ user.name }}'
|
2021-01-29 00:08:39 +00:00
|
|
|
|
|
|
|
- name: Enable dark mode for evolution
|
|
|
|
template:
|
|
|
|
src: '{{ item.src }}'
|
|
|
|
dest: '{{ item.dest }}'
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0644
|
2021-01-29 00:08:39 +00:00
|
|
|
with_items:
|
|
|
|
- { src: 'gtkrc.j2', dest: '.gtkrc-2.0' }
|
|
|
|
- { src: 'settings.ini.j2', dest: '.config/gtk-3.0/settings.ini' }
|
|
|
|
- { src: 'index.theme.j2', dest: '.icons/default/index.theme'}
|
2021-03-17 23:25:44 +00:00
|
|
|
become_user: '{{ user.name }}'
|
2021-01-29 00:08:39 +00:00
|
|
|
|
|
|
|
- name: Create evolution config and cache parent directories
|
|
|
|
file:
|
|
|
|
path: '{{ item }}'
|
|
|
|
state: directory
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0700
|
2021-01-29 00:08:39 +00:00
|
|
|
with_items:
|
|
|
|
- '.config/'
|
|
|
|
- '.local/share/'
|
2021-03-17 23:25:44 +00:00
|
|
|
become_user: '{{ user.name }}'
|