community.general.cobbler_sync module – Sync Cobbler
Note
This module is part of the community.general collection (version 12.0.0).
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 |
Returns details on what has changed (or possibly needs changing in |
Notes
Note
Concurrently syncing Cobbler is bound to fail with weird errors.
Examples
- name: Commit Cobbler changes
community.general.cobbler_sync:
host: cobbler01
username: cobbler
password: MySuperSecureP4sswOrd
run_once: true
delegate_to: localhost