But this does not even say which file the parameters are meant to be configured in. I’m guessing the first 4 go in ansible.cfg under the [inventory] heading, but I’m not sure where ‘url’ etc are meant to go.
My understanding of this plugin is that is will query the Foreman API and populate Ansible’s inventory with the hosts returned by Foreman.
Any help configuring this would be much appreciated.
Hi Brian, thanks for the reply. Can you tell me when the plugin is meant to run? Is it at the start of any ansible run/command or does it need calling explicitly?
I have enable_plugins = foreman in the ansible.cfg file and the plugin file is as required. I’m just not sure how I tell if the plugin is trying to poll foreman or not.