From fdbcde2e9a7027979d0d786f41df2e104644b517 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Sun, 23 Sep 2018 20:51:09 +0200 Subject: Add owner, group and mode to all created files --- roles/root_env/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'roles/root_env') diff --git a/roles/root_env/tasks/main.yml b/roles/root_env/tasks/main.yml index 2a0e04f..a4cee39 100644 --- a/roles/root_env/tasks/main.yml +++ b/roles/root_env/tasks/main.yml @@ -3,9 +3,16 @@ copy: src: files/bash_profile.sh dest: /root/.bash_profile + owner: root + group: root + mode: 0644 + - name: root .bashrc template: src: files/bashrc.sh.j2 dest: /root/.bashrc + owner: root + group: root + mode: 0644 # vim: set ts=2 sw=2 et: -- cgit v1.2.1