:source: katello_content_credential.py :orphan: .. _katello_content_credential_module: katello_content_credential -- Create and Manage Katello content credentials +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Create and Manage Katello content credentials Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
content
string / required
Content of the content credential
content_type
string / required
    Choices:
  • gpg_key
  • cert
Type of credential
name
string / required
Name of the content credential
organization
string / required
Organization that the entity is in
password
string / required
Password of the user accessing the Foreman server
server_url
string / required
URL of the Foreman server
state
string
    Choices:
  • present ←
  • absent
State of the entity in Foreman
username
string / required
Username accessing the Foreman server
validate_certs
boolean
    Choices:
  • no
  • yes ←
Whether or not to verify the TLS certificates of the Foreman server

aliases: verify_ssl

Examples -------- .. code-block:: yaml+jinja - 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') }}" Status ------ - This module is not guaranteed to have a backwards compatible interface. *[preview]* - This module is :ref:`maintained by the Ansible Community `. *[community]* Authors ~~~~~~~ - Baptiste Agasse (@bagasse) .. hint:: If you notice any issues in this documentation, you can `edit this document `_ to improve it.