:source: foreman_host.py :orphan: .. _foreman_host_module: foreman_host -- Manage Foreman hosts ++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Manage Foreman host Entities - This beta version can create and delete hosts from preexisting host groups Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter | Choices/Defaults | Comments |
---|---|---|
build
boolean
|
|
Whether or not to setup build context for the host
|
compute_profile
string
|
Compute profile name
|
|
compute_resource
string
|
Compute resource name
|
|
domain
string
|
Domain name
|
|
enabled
boolean
|
|
Include this host within Foreman reporting
|
hostgroup
string
|
Name of related hostgroup.
Required if state=present and (managed=true or build=true)
|
|
location
string
|
Name of related location
|
|
managed
boolean
|
|
Whether a host is managed or unmanaged.
Forced to true when build=true
|
name
string
/ required
|
Fully Qualified Domain Name of host
|
|
organization
string
|
Name of related organization
|
|
password
string
/ required
|
Password of the user accessing the Foreman server
|
|
server_url
string
/ required
|
URL of the Foreman server
|
|
state
string
|
|
State of the entity in Foreman
|
subnet
string
|
IPv4 Subnet name
|
|
subnet6
string
|
IPv6 Subnet name
|
|
username
string
/ required
|
Username accessing the Foreman server
|
|
validate_certs
boolean
|
|
Whether or not to verify the TLS certificates of the Foreman server
aliases: verify_ssl |