theforeman / theforeman.foreman / 0.8.1 / module / foreman_installation_medium Manage Foreman Installation Medium using Foreman API Authors: Manuel Bonk(@manuelbonk) ATIX AG preview | supported by communitytheforeman.foreman.foreman_installation_medium (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 Installation Medium using Foreman API
- name: create new debian medium foreman_installation_medium: name: "wheezy" locations: - "Munich" organizations: - "ATIX" operatingsystems: - "Debian" path: "http://debian.org/mirror/" server_url: "https://foreman.example.com" username: "admin" password: "secret" state: present
name: description: - 'The full installation medium name. The special name "*" (only possible as parameter) is used to perform bulk actions (modify, delete) on all existing partition tables. ' required: true type: str path: description: Path to the installation medium type: str state: choices: - present - present_with_defaults - absent default: present description: - State of the entity in Foreman - C(present_with_defaults) will ensure the entity exists, but won't update existing ones 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 locations: description: List of locations the entity should be assigned to elements: str type: list os_family: choices: - AIX - Altlinux - Archlinux - Coreos - Debian - Freebsd - Gentoo - Junos - NXOS - Rancheros - Redhat - Solaris - Suse - Windows - Xenserver description: - The OS family the template shall be assigned with. - If no os_family is set but a operatingsystem, the value will be derived from it. required: false type: str server_url: description: URL of the Foreman server required: true type: str updated_name: description: New full installation medium name. When this parameter is set, the module will not be idempotent. type: str organizations: description: List of organizations the entity should be assigned to elements: str type: list validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool operatingsystems: description: List of operating systems the installation medium should be assigned to elements: str required: false type: list