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/fedora | |
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/fedora')
-rw-r--r-- | roles/fedora/tasks/hostname.yml | 3 | ||||
-rw-r--r-- | roles/fedora/tasks/locale.yml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/fedora/tasks/hostname.yml b/roles/fedora/tasks/hostname.yml index 2e755ca..f9bf0c1 100644 --- a/roles/fedora/tasks/hostname.yml +++ b/roles/fedora/tasks/hostname.yml @@ -7,6 +7,9 @@ copy: dest: /etc/hostname content: "{{ hostname }}\n" + owner: root + group: root + mode: 0644 when: chroot # vim: set ts=2 sw=2 et: diff --git a/roles/fedora/tasks/locale.yml b/roles/fedora/tasks/locale.yml index 61311e0..d578a40 100644 --- a/roles/fedora/tasks/locale.yml +++ b/roles/fedora/tasks/locale.yml @@ -3,5 +3,8 @@ template: src: locale.conf.j2 dest: /etc/locale.conf + owner: root + group: root + mode: 0644 # vim: set ts=2 sw=2 et: |