:source: content_upload.py :orphan: .. _content_upload_module: content_upload -- Upload content ++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Allows the upload of content to a 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
|
|
Whether or not to verify the TLS certificates of the Foreman server
|