:source: foreman_os_default_template.py :orphan: .. _foreman_os_default_template_module: foreman_os_default_template -- Manage Foreman Default Template Associations To Operating Systems ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Manage Foreman OSDefaultTemplate Entities Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
operatingsystem
string / required
Title of the Operating System (name, or name and major version, that uniquely identifies the OS)
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
    Choices:
  • present ←
  • present_with_defaults
  • absent
State of the entity in Foreman
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
    Choices:
  • no
  • yes ←
Whether or not to verify the TLS certificates of the Foreman server

aliases: verify_ssl

Examples -------- .. code-block:: yaml+jinja - 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 :ref:`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.