31 lines
676 B
YAML
31 lines
676 B
YAML
---
|
|
|
|
- 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
|
|
owner: '{{ user.name }}'
|
|
group: '{{ user.name }}'
|
|
mode: 0755
|
|
become_user: '{{ user.name }}'
|
|
|
|
- name: Copy dunst configuration file
|
|
template:
|
|
src: 'dunstrc.j2'
|
|
dest: '.config/dunst/dunstrc'
|
|
owner: '{{ user.name }}'
|
|
group: '{{ user.name }}'
|
|
mode: 0644
|
|
become_user: '{{ user.name }}'
|