The directory and the files contained within need to be owned
by the user or compilation will fail, either loudly or silently
depending on the OS, due to missing write permissions.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/tasks/users.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/guests/tasks/users.yml b/guests/tasks/users.yml
index 6134228..87693e0 100644
--- a/guests/tasks/users.yml
+++ b/guests/tasks/users.yml
@@ -55,8 +55,12 @@
file:
path: /home/{{ flavor }}/.ccache
state: directory
+ owner: '{{ flavor }}'
+ group: '{{ flavor }}'
- name: '{{ flavor }}: Configure ccache'
copy:
src: files/ccache.conf
dest: /home/{{ flavor }}/.ccache/ccache.conf
+ owner: '{{ flavor }}'
+ group: '{{ flavor }}'
--
2.14.3