katello_upload – Upload content to Katello

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

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

- 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

Authors

  • Eric D Helms (@ehelms)

Hint

If you notice any issues in this documentation, you can edit this document to improve it.