:source: foreman_compute_resource.py :orphan: .. _foreman_compute_resource_module: foreman_compute_resource -- Manage Foreman Compute resources using Foreman API ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Create, update and delete Foreman Compute Resources using Foreman API Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
description
string
|
compute resource description
|
||
locations
list
|
List of locations the entity should be assigned to
|
||
name
string
/ required
|
compute resource name
|
||
organizations
list
|
List of organizations the entity should be assigned to
|
||
password
string
/ required
|
Password of the user accessing the Foreman server
|
||
provider
string
|
|
Compute resource provider. Required if state=present_with_defaults.
|
|
provider_params
dictionary
|
Parameter specific to compute resource provider. Required if state=present_with_defaults.
|
||
datacenter
string
|
Datacenter the compute resource is in, not valid for provider=libvirt
|
||
display_type
string
|
Display type to use for the remote console, only valid for provider=libvirt
|
||
ovirt_quota
string
|
oVirt quota ID, only valid for provider=ovirt
|
||
password
string
|
Password for the compute resource connection, not valid for provider=libvirt
|
||
url
string
|
URL of the compute resource
|
||
use_v4
boolean
|
|
Use oVirt API v4, only valid for provider=ovirt
|
|
user
string
|
Username for the compute resource connection, not valid for provider=libvirt
|
||
server_url
string
/ required
|
URL of the Foreman server
|
||
state
string
|
|
State of the entity in Foreman
present_with_defaults will ensure the entity exists, but won't update existing ones |
|
updated_name
string
|
new compute resource 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 |