redhat.satellite.host_info – Fetch information about Hosts¶
Note
This plugin is part of the redhat.satellite collection (version 2.0.1).
To install it use: ansible-galaxy collection install redhat.satellite
.
To use it in a playbook, specify: redhat.satellite.host_info
.
New in version 2.0.0: of redhat.satellite
Parameters¶
Examples¶
- name: "Show a host"
redhat.satellite.host_info:
username: "admin"
password: "changeme"
server_url: "https://satellite.example.com"
name: "host.example.com"
- name: "Show all hosts with domain example.com"
redhat.satellite.host_info:
username: "admin"
password: "changeme"
server_url: "https://satellite.example.com"
search: "domain = example.com"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Evgeni Golov (@evgeni)