0 votes
in Ansible by
How can you use the Ansible module “cron” to create a new cron job on a target machine?

a) By using the “name” parameter to specify the job name and the “job” parameter to specify the job details

b) By using the “job_name” parameter to specify the job name and the “details” parameter to specify the job details

c) By using the “cron_name” parameter to specify the job name and the “cron_job” parameter to specify the job details

d) By using the “state” parameter to specify “present” and the “job” parameter to specify the job details

1 Answer

0 votes
by

Answer: a) By using the “name” parameter to specify the job name and the “job” parameter to specify the job details

Explanation: The Ansible module “cron” can be used to create a new cron job on a target machine by using the “name” parameter to specify the job name and the “job” parameter to specify the job details.

...