hardware_model – Manage hardware models

Synopsis

  • Manage hardware models

Requirements

The below requirements are needed on the host that executes this module.

  • apypie

Parameters

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 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
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
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

- name: "Create ACME Laptop model"
  hardware_model:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    name: "acme laptop"
    info: "this is the acme laptop"
    state: present

Status

Authors

  • Evgeni Golov (@evgeni)

Hint

If you notice any issues in this documentation, you can edit this document to improve it.