:source: foreman_image.py :orphan: .. _foreman_image_module: foreman_image -- Manage Foreman Images using Foreman API ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Create and Delete Foreman Images using Foreman API Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
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
    Choices:
  • present ←
  • absent
State of the entity in Foreman
user_data
boolean
    Choices:
  • no
  • yes
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
    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 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 :ref:`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.