You've already forked ansible-role-common
Corrrected permissions applied to config files as created.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user