foreman_image – Manage Foreman Images using Foreman API¶
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
architecture
string
/ required
|
architecture of the image
|
|
compute_resource
string
/ required
|
Compute resource the image is assigned to
|
|
image_password
string
|
Password that is used to login into the operating system
|
|
image_username
string
/ required
|
Username that is used to login into the operating system
|
|
name
string
/ required
|
Image name
|
|
operatingsystem
string
/ required
|
Operating system that will be deployed using the image
|
|
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
|
user_data
boolean
|
|
Image supports user_data
|
username
string
/ required
|
Username accessing the Foreman server
|
|
uuid
string
/ required
|
UUID or Marketplace URN of the operatingsystem image
aliases: image_uuid |
|
validate_certs
boolean
|
|
Whether or not to verify the TLS certificates of the Foreman server
aliases: verify_ssl |
Examples¶
- name: create Image for EC2
foreman_image:
name: CentOS
image_uuid: "ami-0ff760d16d9497662"
image_username: "centos"
operatingsystem: "CentOS 7"
compute_resource: "AWS"
architecture: "x86_64"
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
Mark Hlawatschek (@hlawatschek) ATIX AG
Hint
If you notice any issues in this documentation, you can edit this document to improve it.