community.general.cobbler_sync module – Sync Cobbler
Note
This module is part of the community.general collection (version 10.7.5).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install community.general.
To use it in a playbook, specify: community.general.cobbler_sync.
Synopsis
- Sync Cobbler to commit changes. 
Parameters
| Parameter | Comments | 
|---|---|
| The name or IP address of the Cobbler system. Default:  | |
| The password to log in to Cobbler. | |
| Port number to be used for REST connection. The default value depends on parameter  | |
| If  Choices: 
 | |
| The username to log in to Cobbler. Default:  | |
| If  This should only set to  Choices: 
 | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Support: full | Can run in  | |
| Support: none | Will return details on what has changed (or possibly needs changing in  | 
Notes
Note
- Concurrently syncing Cobbler is bound to fail with weird errors. 
- On Python 2.7.8 and older (such as RHEL7) you may need to tweak the Python behaviour to disable certificate validation. More information at Certificate verification in Python standard library HTTP clients. 
Examples
- name: Commit Cobbler changes
  community.general.cobbler_sync:
    host: cobbler01
    username: cobbler
    password: MySuperSecureP4sswOrd
  run_once: true
  delegate_to: localhost
