community.general.cobbler_sync module – Sync Cobbler
Note
This module is part of the community.general collection (version 12.6.1).
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 |
|---|---|
host string | The name or IP address of the Cobbler system. Default: |
password string | The password to log in to Cobbler. |
port integer | Port number to be used for REST connection. The default value depends on parameter |
use_ssl boolean | If Choices:
|
username string | The username to log in to Cobbler. Default: |
validate_certs boolean | If This should only set to Choices:
|
Attributes
Attribute | Support | Description |
|---|---|---|
check_mode | Support: full | Can run in |
diff_mode | 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
Collection links
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/collections/community/general/cobbler_sync_module.html