foreman_os_default_template – Manage Foreman Default Template Associations To Operating Systems¶
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
operatingsystem
string
/ required
|
Name of the Operating System
|
|
password
string
/ required
|
Password of the user accessing the Foreman server
|
|
provisioning_template
string
|
name of provisioning template
|
|
server_url
string
/ required
|
URL of the Foreman server
|
|
state
string
|
|
State of the Association
present_with_defaults will ensure the entity exists, but won't update existing ones |
template_kind
string
/ required
|
name of the template kind
|
|
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 |
Examples¶
- name: "Create an Association"
foreman_os_default_template:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
operatingsystem: "CoolOS"
template_kind: "finish"
provisioning_template: "CoolOS finish"
state: present
- name: "Delete an Association"
foreman_os_default_template:
username: "admin"
password: "changeme"
server_url: "https://foreman.example.com"
operatingsystem: "CoolOS"
template_kind: "finish"
state: absent
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
Matthias M Dellweg (@mdellweg) ATIX AG
Hint
If you notice any issues in this documentation you can edit this document to improve it.