:source: foreman_model.py :orphan: .. _foreman_model_module: foreman_model -- Manage Foreman hardware models +++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Manage Foreman hardware models Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
hardware_model
string
The class of CPU supplied in this machine.
This is primarily used by Sparc Solaris builds and can be left blank for other architectures.
info
string
General description of the hardware model
name
string / required
Name of the Foreman hardware model
password
string / required
Password of the user accessing the Foreman server
server_url
string / required
URL of the Foreman server
state
string
    Choices:
  • present ←
  • absent
State of the entity in Foreman
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
vendor_class
string
The class of the machine as reported by the OpenBoot PROM.
This is primarily used by Solaris SPARC builds and can be left blank for other architectures.

Examples -------- .. code-block:: yaml+jinja - name: "Create ACME Laptop model" foreman_model: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "acme laptop" info: "this is the acme laptop" state: present Status ------ - This module is not guaranteed to have a backwards compatible interface. *[preview]* - This module is :ref:`maintained by the Ansible Community `. *[community]* Authors ~~~~~~~ - Evgeni Golov (@evgeni) .. hint:: If you notice any issues in this documentation, you can `edit this document `_ to improve it.