52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
---
|
|
- 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
|
|
owner: '{{ user.name }}'
|
|
group: '{{ user.name }}'
|
|
mode: 0700
|
|
with_items:
|
|
- '.config/gtk-3.0/'
|
|
- '.icons/default/'
|
|
become_user: '{{ user.name }}'
|
|
|
|
- name: Enable dark mode for evolution
|
|
template:
|
|
src: '{{ item.src }}'
|
|
dest: '{{ item.dest }}'
|
|
owner: '{{ user.name }}'
|
|
group: '{{ user.name }}'
|
|
mode: 0644
|
|
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'}
|
|
become_user: '{{ user.name }}'
|
|
|
|
- name: Create evolution config and cache parent directories
|
|
file:
|
|
path: '{{ item }}'
|
|
state: directory
|
|
owner: '{{ user.name }}'
|
|
group: '{{ user.name }}'
|
|
mode: 0700
|
|
with_items:
|
|
- '.config/'
|
|
- '.local/share/'
|
|
become_user: '{{ user.name }}'
|