I am learning Ansible from this book and it contains this lab:
Write a playbook according to the following specifications:
- The cron module must be used to restart your managed servers at 2 a.m. each weekday
- After rebooting a message must be written to syslog with the text "CRON initiated reboot completed"
- The default systemd target must be set to multi-target
- The last task should use service facts to show the current version of the cron process
The last point is a bit confusing. The service_facts module only retrieves facts relating to the name,source,state and status of crond but not the version. How can this objective be achieved?