2021-01-29 00:08:39 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Queries package manager to install xdg
|
|
|
|
package:
|
|
|
|
name: xdg-utils
|
|
|
|
register: pkg_result
|
|
|
|
retries: 3
|
|
|
|
until: pkg_result is succeeded
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: Create default applications config folder
|
|
|
|
file:
|
|
|
|
path: '.config/'
|
|
|
|
state: directory
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0700
|
|
|
|
become_user: '{{ user.name }}'
|
2021-01-29 00:08:39 +00:00
|
|
|
|
|
|
|
- name: Install default applications configuration file
|
|
|
|
template:
|
|
|
|
src: 'mimeapps.list.j2'
|
|
|
|
dest: '.config/mimeapps.list'
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0644
|
|
|
|
become_user: '{{ user.name }}'
|