theforeman / theforeman.foreman / 0.8.1 / module / katello_host_collection Create and Manage host collections Authors: Maxim Burgerhout (@wzzrd), Christoffer Reijer (@ephracis) preview | supported by communitytheforeman.foreman.katello_host_collection (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 Manage host collections
- name: "Create Foo host collection" katello_host_collection: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "Foo" description: "Foo host collection for Foo servers" organization: "My Cool new Organization" state: present
name: description: - Name of the host collection 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 server_url: description: URL of the Foreman server required: true type: str description: description: - Description of the host collection required: false type: str organization: description: - Organization that the entity is in required: true type: str updated_name: description: - New name of the host collection. When this parameter is set, the module will not be idempotent. type: str validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool