katello_sync_plan – Manage Katello sync plans¶
Parameters¶
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
|
|
Whether the sync plan is active
|
interval
string
/ required
|
|
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
|
|
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
|
|
Whether or not to verify the TLS certificates of the Foreman server
aliases: verify_ssl |
Examples¶
- 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 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.