Spec-Zone.ru › Ansible 2.10

community.general.cobbler_sync – Sync Cobbler

Note

This plugin is part of the community.general collection (version 1.3.2).

To install it use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.cobbler_sync.

  • Synopsis
  • Parameters
  • Notes
  • Examples

Synopsis

  • Sync Cobbler to commit changes.

Parameters

Parameter Choices/Defaults Comments
host
string
Default:
"127.0.0.1"
The name or IP address of the Cobbler system.
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.
use_ssl
boolean
    Choices:
  • no
  • yes ←
If no, an HTTP connection will be used instead of the default HTTPS connection.
username
string
Default:
"cobbler"
The username to log in to Cobbler.
validate_certs
boolean
    Choices:
  • no
  • yes ←
If no, SSL certificates will not be validated.
This should only set to no when used on personally controlled sites using self-signed certificates.

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)

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/cobbler_sync_module.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API