:source: foreman_hostgroup.py :orphan: .. _foreman_hostgroup_module: foreman_hostgroup -- Manage Foreman Hostgroups using Foreman API ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Create, Update and Delete Foreman Hostgroups using Foreman API Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
architecture
string
|
Architecture name
|
||
compute_profile
string
|
Compute profile name
|
||
compute_resource
string
|
Compute resource name
|
||
config_groups
list
/ elements=string
|
Config groups list
|
||
content_source
string
|
Katello Content source.
Only available for Katello installations.
|
||
content_view
string
|
Katello Content view.
Only available for Katello installations.
|
||
description
string
|
Description of hostgroup
|
||
domain
string
|
Domain name
|
||
environment
string
|
Puppet environment name
|
||
kickstart_repository
string
|
Kickstart repository name.
You need to provide this to use the "Synced Content" feature of Katello.
Mutually exclusive with medium.
Only available for Katello installations.
|
||
lifecycle_environment
string
|
Katello Lifecycle environment.
Only available for Katello installations.
|
||
locations
list
/ elements=string
|
List of locations the entity should be assigned to
|
||
medium
string
|
Medium name
Mutually exclusive with kickstart_repository.
aliases: media |
||
name
string
/ required
|
Name of hostgroup
|
||
openscap_proxy
string
|
OpenSCAP proxy name. Only available when the OpenSCAP plugin is installed.
|
||
operatingsystem
string
|
Operatingsystem title
|
||
organization
string
|
Organization for scoped resources attached to the hostgroup.
Only used for Katello installations.
This organization will implicitly be added to the organizations parameter if needed.
|
||
organizations
list
/ elements=string
|
List of organizations the entity should be assigned to
|
||
parameters
list
/ elements=dictionary
|
Hostgroup specific host parameters
|
||
name
string
/ required
|
Name of the parameter
|
||
parameter_type
string
|
|
Type of the parameter
|
|
value
raw
/ required
|
Value of the parameter
|
||
parent
string
|
Hostgroup parent name
|
||
password
string
/ required
|
Password of the user accessing the Foreman server
|
||
ptable
string
|
Partition table name
|
||
puppet_ca_proxy
string
|
Puppet CA proxy name
|
||
puppet_proxy
string
|
Puppet server proxy name
|
||
puppetclasses
list
/ elements=string
|
List of puppet classes to include in this host group. Must exist for hostgroup's puppet environment.
|
||
pxe_loader
string
|
|
PXE Bootloader
|
|
realm
string
|
Realm name
|
||
root_pass
string
|
root password
|
||
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
|
||
updated_name
string
|
New name of hostgroup. When this parameter is set, the module will not be idempotent.
|
||
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 |