Scheduled jobs don't run on new hosts Satellite 6.5

Latest response

I have some recurring jobs to periodically play Ansible roles on different host collections. To accomplish this I use a host query in the 'Job/Job invocations' to specify the host collection (host_collections = whatever). It mostly works, but I notice that when I add a new host to the collection it gets left out of the scheduled ansible action. I've also tried this with host groups (hostgroup_fullname=whatever) with the same result.

If I disable/re-enable the job, the group membership seems to refresh so that the new hosts get included, which is fine I guess except that's another extra step to take any time a host is added. Is there a better way?

Also, is there any way to edit or adjust a recurring tasks? Seems like there should be outside of 'foreman-rake' console commands...

Thanks

Responses