theforeman.foreman.katello_upload (0.8.1) — module

Upload content to Katello

Authors: Eric D Helms (@ehelms)

preview | supported by community

Install collection

Install with ansible-galaxy collection install theforeman.foreman:==0.8.1


Add to requirements.yml

  collections:
    - name: theforeman.foreman
      version: 0.8.1

Description

Allows the upload of content to a Katello repository


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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"

Inputs

    
src:
    aliases:
    - file
    description:
    - File to upload
    required: true
    type: path

product:
    description:
    - Product to which the repository lives in
    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

repository:
    description:
    - Repository to upload file in to
    required: true
    type: str

server_url:
    description: URL of the Foreman server
    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