Explicit permissions

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-03-18 00:25:44 +01:00
parent b0d8cdaf72
commit 57b83cb58e
24 changed files with 121 additions and 39 deletions

View File

@ -10,15 +10,21 @@
register: pkg_result
retries: 3
until: pkg_result is succeeded
become: yes
- 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 }}'