community.general.cobbler_sync module – Sync Cobbler
Note
This module is part of the community.general collection (version 4.8.3).
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
.
Parameters
Parameter |
Comments |
---|---|
The name or IP address of the Cobbler system. Default: “127.0.0.1” |
|
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: “cobbler” |
|
If This should only set to Choices:
|
Notes
Note
Concurrently syncing Cobbler is bound to fail with weird errors.
On python 2.7.8 and older (i.e. on 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: yes
delegate_to: localhost
Authors
Dag Wieers (@dagwieers)
Collection links
Issue Tracker Repository (Sources) Submit a bug report Request a feature Communication