Explicit permissions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
@ -6,18 +6,18 @@
|
||||
register: pkg_result
|
||||
retries: 3
|
||||
until: pkg_result is succeeded
|
||||
become: yes
|
||||
notify: restart ntpd.service
|
||||
|
||||
- name: Deploy ntp configuration
|
||||
template:
|
||||
src: 'ntp.conf.j2'
|
||||
dest: '/etc/ntp.conf'
|
||||
become: yes
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart ntpd.service
|
||||
|
||||
- name: Enable ntp service
|
||||
service:
|
||||
name: ntpd
|
||||
enabled: yes
|
||||
become: true
|
||||
|
Reference in New Issue
Block a user