diff --git a/playbooks/cron-tasks.yml b/playbooks/cron-tasks.yml index c543162..a4a5833 100644 --- a/playbooks/cron-tasks.yml +++ b/playbooks/cron-tasks.yml @@ -9,4 +9,17 @@ name: "Job 0001" minute: "0" hour: "5,17" - job: "df -h >> /tmp/diskspace" \ No newline at end of file + job: "df -h >> /tmp/diskspace" + + - name: Creates an entry like "PATH=/opt/bin/" on top of crontab + cron: + name: PATH + env: yes + job: /opt/bin + + - name: Create an entry like "APP_HOME=/srv/app" and insert it after PATH declaration + cron: + name: APP_HOME + env: yes + job: /srv/app + insertbefore: PATH \ No newline at end of file