regular_tasks.yml 301 B

1234567891011121314
  1. - name: regular tasks
  2. hosts: proxy
  3. gather_facts: no
  4. tasks:
  5. - name: create cron job
  6. cron:
  7. # minute: 00
  8. # hour: *
  9. # day: *
  10. # month: *
  11. job: 'date >> /var/log/tim.log'
  12. name: horly date command
  13. special_time: hourly
  14. state: present