theforeman / theforeman.foreman / 0.8.1 / module / foreman_image Manage Foreman Images using Foreman API Authors: Mark Hlawatschek (@hlawatschek) ATIX AG preview | supported by communitytheforeman.foreman.foreman_image (0.8.1) — module
Install with ansible-galaxy collection install theforeman.foreman:==0.8.1
collections: - name: theforeman.foreman version: 0.8.1
Create and Delete Foreman Images using Foreman API
- 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"
name: description: Image name required: true type: str uuid: aliases: - image_uuid description: UUID or Marketplace URN of the operatingsystem image required: true type: str state: choices: - present - absent default: present description: - State of the entity in Foreman type: str password: description: Password of the user accessing the Foreman server required: true type: str username: description: Username accessing the Foreman server required: true type: str user_data: description: Image supports user_data required: false type: bool server_url: description: URL of the Foreman server required: true type: str architecture: description: architecture of the image required: true type: str image_password: description: Password that is used to login into the operating system required: false type: str image_username: description: Username that is used to login into the operating system required: true type: str validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool operatingsystem: description: Operating system that will be deployed using the image required: true type: str compute_resource: description: Compute resource the image is assigned to required: true type: str