When you invoc a job on foreman server it able to farm that job out to the proxy server. It is possible to invoke this function in say a shell or ansible script. to utilise the host names connection and whatever tunelling is going on. I dont have the estate in DNS and there are duplicate subnets across different locations firewalld off.
I found the ansible foreman pakage which allows to invoke jobs but I was looking for a way to use that capability without using the foreman job scheduler.
I have quite a large estate and the logging on foreman makes it impossible to use. is there a way to run a job against lots of hosts and get the log into one file ?
At the moment I pull it using a loop against every hostname using hammer job-invocation show but it takes forever.
Foreman and Proxy versions:
Pulp 3 and 2 on proxy’s
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data: