:source: katello_upload.py :orphan: .. _katello_upload_module: katello_upload -- Upload content to Katello +++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Allows the upload of content to a Katello repository Requirements ------------ The below requirements are needed on the host that executes this module. - apypie - python-debian (For deb Package upload) - rpm (For rpm upload) Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
organization
string / required
Organization that the entity is in
password
string / required
Password of the user accessing the Foreman server
product
string / required
Product to which the repository lives in
repository
string / required
Repository to upload file in to
server_url
string / required
URL of the Foreman server
src
path / required
File to upload

aliases: file
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

Notes ----- .. note:: - Currently only uploading to deb, RPM & file repositories is supported - For anything but file repositories, a supporting library must be installed. See Requirements. Examples -------- .. code-block:: yaml+jinja - name: "Upload my.rpm" katello_upload: username: "admin" password: "changeme" server_url: "https://foreman.example.com" src: "my.rpm" repository: "Build RPMs" product: "My Product" organization: "Default Organization" Status ------ - This module is not guaranteed to have a backwards compatible interface. *[preview]* - This module is :ref:`maintained by the Ansible Community `. *[community]* Authors ~~~~~~~ - Eric D Helms (@ehelms) .. hint:: If you notice any issues in this documentation, you can `edit this document `_ to improve it.