FOREMANCLI(1) | FOREMANCLI(1) |
foremancli - comandline search interface to Foreman
foremancli options
Query Foreman server for stored node information.
Instead of specifying server credentials on the command-line you can specify following environment variables:
The options specified on the command-line take precedence over ENVIRONMENT VARIABLES.
Please see http://theforeman.org/projects/foreman/wiki/Search_API for more information
foremancli --hosts "domain = domain.com AND class = squid"
foremancli --hosts "domain = domain.com AND facts.architecture = x86_64 AND class = module::class--classes name = squid"`
foremancli --domains "name = domain.com"
February 2019 |