diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-09-23 20:51:09 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-09-23 20:53:45 +0200 |
commit | fdbcde2e9a7027979d0d786f41df2e104644b517 (patch) | |
tree | c380b0ec0f7e7d8c1cda2ad935aba89045e02967 /roles/root_env/tasks | |
parent | 58168b200c891b2f94d2ec8281093348f3e26943 (diff) | |
download | labitat-ansible-fdbcde2e9a7027979d0d786f41df2e104644b517.tar.gz labitat-ansible-fdbcde2e9a7027979d0d786f41df2e104644b517.tar.xz labitat-ansible-fdbcde2e9a7027979d0d786f41df2e104644b517.zip |
Add owner, group and mode to all created files
Diffstat (limited to 'roles/root_env/tasks')
-rw-r--r-- | roles/root_env/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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: |