Hi there,
I am doing the cron lab but I am getting this error:
I already check the solution and it is the same as mine, this is my playbook.
---
- name: Clean up /tmp every rebbot
hosts: node00
tasks:
- name: Create cron job
cron:
name: Clean tmp
special_time: reboot
job: rm -rf /tmp/*
Please can you tell me what I am doing wrong, thank you.