Explicit permissions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
@ -7,7 +7,6 @@
|
||||
- i3blocks
|
||||
- i3status
|
||||
register: pkg_result
|
||||
become: yes
|
||||
retries: 3
|
||||
until: pkg_result is succeeded
|
||||
|
||||
@ -15,14 +14,22 @@
|
||||
file:
|
||||
path: '.config/{{ item }}'
|
||||
state: directory
|
||||
owner: '{{ user.name }}'
|
||||
group: '{{ user.name }}'
|
||||
mode: 0755
|
||||
with_items:
|
||||
- i3/
|
||||
- i3status/
|
||||
become_user: '{{ user.name }}'
|
||||
|
||||
- name: Copy i3 configuration files
|
||||
template:
|
||||
src: '{{ item }}.j2'
|
||||
dest: '.config/{{ item }}/config'
|
||||
owner: '{{ user.name }}'
|
||||
group: '{{ user.name }}'
|
||||
mode: 0755
|
||||
with_items:
|
||||
- i3
|
||||
- i3status
|
||||
become_user: '{{ user.name }}'
|
||||
|
Reference in New Issue
Block a user