theforeman / theforeman.foreman / 0.8.1 / module / katello_product Create and Manage Katello products Authors: Eric D Helms (@ehelms), Matthias Dellweg (@mdellweg) ATIX AG preview | supported by communitytheforeman.foreman.katello_product (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 Katello products
- name: "Create Fedora product with a sync plan" katello_product: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "Fedora" organization: "My Cool new Organization" sync_plan: "Fedora repos sync" state: present
- name: "Create CentOS 7 product with content credentials" katello_product: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "CentOS 7" gpg_key: "RPM-GPG-KEY-CentOS7" organization: "My Cool new Organization" state: present
name: description: - Name of the Katello product required: true type: str label: description: - Label to show the user required: false 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 gpg_key: description: - Content GPG key name attached to this product required: false 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 sync_plan: description: - Sync plan name attached to this product required: false type: str server_url: description: URL of the Foreman server required: true type: str description: description: - Possibly long descriptionto show the user in detail view required: false type: str ssl_ca_cert: description: - Content SSL CA certificate name attached to this product required: false type: str organization: description: - Organization that the entity is in required: true type: str ssl_client_key: description: - Content SSL client private key name attached to this product required: false type: str validate_certs: aliases: - verify_ssl default: true description: Whether or not to verify the TLS certificates of the Foreman server type: bool ssl_client_cert: description: - Content SSL client certificate name attached to this product required: false type: str