Corrrected permissions applied to config files as created.

This commit is contained in:
2016-07-03 21:08:26 +12:00
parent 376e810710
commit e5a52988eb

View File

@@ -60,19 +60,19 @@
with_items: with_items:
- { src: etc.sysconfig.network.j2, - { src: etc.sysconfig.network.j2,
dest: /etc/sysconfig/network, dest: /etc/sysconfig/network,
mode: u+rw mode: o+rw
} }
- { src: etc.hosts.j2, - { src: etc.hosts.j2,
dest: /etc/hosts, dest: /etc/hosts,
mode: u=rw,g=r,o=r mode: o=rw,g=r,a=r
} }
- { src: etc.resolv.conf.j2, - { src: etc.resolv.conf.j2,
dest: /etc/resolv.conf, dest: /etc/resolv.conf,
mode: u=rw,g=r,o=r mode: o=rw,g=r,a=r
} }
- { src: sshd_config.j2, - { src: sshd_config.j2,
dest: /etc/ssh/sshd_config, dest: /etc/ssh/sshd_config,
mode: u=rw mode: o=rw
} }
notify: notify:
- Restart NTPD - Restart NTPD