Problem:
Recurrings logics doesn’t work with dynamic query
Expected outcome:
Running recurring schedule job using dynamic query
Foreman and Proxy versions:
1.17.0
Foreman and Proxy plugin versions:
bastion 6.1.8
foreman-tasks 0.11.2
foreman_ansible 2.0.1
foreman_discovery 11.0.0
foreman_docker 4.0.0
foreman_hooks 0.3.14
foreman_remote_execution 1.4.5
katello 3.6.0
Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
I’ve tried to setup a recurring job to run ansible playbook using a host_collection with dynamic quey. I do use “host_collection_id = 3” and when setting up the job it returns :
Warning! Could not render the preview because no host matches the search query.
The host collection contains 12 hosts.
On the “host” tab of the recurring job I see the following error message:
The dynamic query ‘host_collection_id = 3’ was not resolved yet. The list of hosts to which it would resolve now can be seen here.
Any idea what’s wrong?
Thanks and rgds,
Arsene