foreman_model – Manage Foreman hardware models¶
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 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
|
|
State of the entity in Foreman
|
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 |
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"
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 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.