theforeman / theforeman.foreman / 0.8.1 / module / katello_content_credential Create and Manage Katello content credentials Authors: Baptiste Agasse (@bagasse) preview | supported by communitytheforeman.foreman.katello_content_credential (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 content credentials
- name: "Create katello client GPG key" katello_content_credential: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "RPM-GPG-KEY-my-repo" content_type: gpg_key organization: "Default Organization" content: "{{ lookup('file', 'RPM-GPG-KEY-my-repo') }}"
name: description: - Name of the content credential required: true type: str state: choices: - present - absent default: present description: - State of the entity in Foreman type: str content: description: - Content of the content credential required: true 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 content_type: choices: - gpg_key - cert description: - Type of credential required: true type: str organization: description: - Organization that the entity is in 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