2021-01-29 00:08:39 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Queries package manager for notification installation
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- dunst
|
|
|
|
- gnome-icon-theme
|
|
|
|
- gnome-icon-theme-extras
|
|
|
|
- gnome-icon-theme-symbolic
|
|
|
|
register: pkg_result
|
|
|
|
retries: 3
|
|
|
|
until: pkg_result is succeeded
|
|
|
|
|
|
|
|
- name: Create dunst config directory
|
|
|
|
file:
|
|
|
|
path: '.config/dunst/'
|
|
|
|
state: directory
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0755
|
|
|
|
become_user: '{{ user.name }}'
|
2021-01-29 00:08:39 +00:00
|
|
|
|
|
|
|
- name: Copy dunst configuration file
|
|
|
|
template:
|
|
|
|
src: 'dunstrc.j2'
|
|
|
|
dest: '.config/dunst/dunstrc'
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: '{{ user.name }}'
|
|
|
|
group: '{{ user.name }}'
|
|
|
|
mode: 0644
|
|
|
|
become_user: '{{ user.name }}'
|