Schedule a job

Is there a recommended way to schedule jobs. eg I want to upgrade all hosts in my dev lifecycle. I dont want to use puppet.
Do I just write an ansible script to push a script and cron job or even just an at out to all hosts to run the yum update and reboot if required ?

You can take a look here:

https://docs.theforeman.org/nightly/Managing_Hosts/index-foreman-el.html#configuring-and-setting-up-remote-jobs_managing-hosts

And Configuring Foreman to use Ansible for the Ansible version.

If you want to look at remote execution with Ansible, we also have a new video:

1 Like