:source: katello_sync_plan.py :orphan: .. _katello_sync_plan_module: katello_sync_plan -- Manage Katello sync plans ++++++++++++++++++++++++++++++++++++++++++++++ .. contents:: :local: :depth: 1 Synopsis -------- - Manage Katello sync plans Requirements ------------ The below requirements are needed on the host that executes this module. - apypie Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
cron_expression
string
A cron expression as found in crontab files
This must be provided together with interval='custom cron'.
description
string
Description of the Katello sync plan
enabled
boolean / required
    Choices:
  • no
  • yes
Whether the sync plan is active
interval
string / required
    Choices:
  • hourly
  • daily
  • weekly
  • custom cron
How often synchronization should run
name
string / required
Name of the Katello sync plan
organization
string / required
Organization that the entity is in
password
string / required
Password of the user accessing the Foreman server
products
list / elements=string
List of products to include in the sync plan
server_url
string / required
URL of the Foreman server
state
string
    Choices:
  • present ←
  • present_with_defaults
  • absent
State of the entity in Foreman
present_with_defaults will ensure the entity exists, but won't update existing ones
sync_date
string / required
Start date and time of the first synchronization
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

Examples -------- .. code-block:: yaml+jinja - name: "Create or update weekly RHEL sync plan" katello_sync_plan: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "Weekly RHEL Sync" organization: "Default Organization" interval: "weekly" enabled: false sync_date: "2017-01-01 00:00:00 UTC" products: - 'Red Hat Enterprise Linux Server' state: present Status ------ - This module is not guaranteed to have a backwards compatible interface. *[preview]* - This module is :ref:`maintained by the Ansible Community `. *[community]* Authors ~~~~~~~ - Andrew Kofink (@akofink) - Matthis Dellweg (@mdellweg) ATIX-AG .. hint:: If you notice any issues in this documentation, you can `edit this document `_ to improve it.