repository_sync – Sync a repository or product

Synopsis

  • Sync a repository or product

Requirements

The below requirements are needed on the host that executes this module.

  • apypie

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
Name of the repository to sync If omitted, all repositories in product are synched.
server_url
string / required
URL of the Foreman server
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

Examples

- name: "Sync repository"
  repository_sync:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    repository: "My repository"
    product: "My Product"
    organization: "Default Organization"

Status

Authors

  • Eric D Helms (@ehelms)

  • Matthias M Dellweg (@mdellweg) ATIX AG

Hint

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