:source: foreman_provisioning_template.py :orphan: .. _foreman_provisioning_template_module: foreman_provisioning_template -- Manage Provisioning Template in Foreman ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Manage Foreman Provisioning Template Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter | Choices/Defaults | Comments |
---|---|---|
audit_comment
string
|
Content of the audit comment field
|
|
file_name
path
|
The path of a template file, that shall be imported.
Either this or template is required as a source for
the Provisioning Template "content".
|
|
kind
string
|
|
The provisioning template kind
|
locations
list
/ elements=string
|
List of locations the entity should be assigned to
|
|
locked
boolean
|
|
Determines whether the template shall be locked
|
name
string
|
The name a template should be assigned with in Foreman.
A name must be provided.
Possible sources are, ordererd by preference:
The "name" parameter, config header (inline or in a file), basename of a file.
The special name "*" (only possible as parameter) is used
to perform bulk actions (modify, delete) on all existing templates.
|
|
operatingsystems
list
/ elements=string
|
The Operatingsystems the template shall be assigned to
|
|
organizations
list
/ elements=string
|
List of organizations the entity should be assigned to
|
|
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
present_with_defaults will ensure the entity exists, but won't update existing ones |
template
string
|
The content of the provisioning template, either this or file_name
is required as a source for the Provisioning Template "content".
|
|
updated_name
string
|
New provisioning template name. 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 |