Skip to content

Commit 5b13a36

Browse files
committedSep 26, 2016
Fix crontab permission issue
Fixes webdevops/Dockerfile#136
1 parent 46ba345 commit 5b13a36

File tree

1 file changed

+7
-0
lines changed
  • provision/roles/boilerplate-main/tasks/bootstrap

1 file changed

+7
-0
lines changed
 

‎provision/roles/boilerplate-main/tasks/bootstrap/cron.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
dest: '/etc/cron.d/docker-boilerplate'
77
state: link
88
force: yes
9+
mode: '0644'
10+
11+
- name: Permissions of crontab
12+
file:
13+
path: '/opt/docker/etc/cron/crontab'
14+
state: touch
15+
mode: '0644'
916

1017
- name: Add newline to crontab
1118
raw: 'echo >> /opt/docker/etc/crontab'

0 commit comments

Comments
 (0)