W3cubDocs

/Ansible 2.7

cobbler_sync - Sync Cobbler

New in version 2.7.

Synopsis

  • Sync Cobbler to commit changes.

Parameters

Parameter Choices/Defaults Comments
host Default:
127.0.0.1
The name or IP address of the Cobbler system.
password
required
The password to log in to Cobbler.
port
Port number to be used for REST connection.
The default value depends on parameter use_ssl.
use_ssl
bool
    Choices:
  • no
  • yes
If no, an HTTP connection will be used instead of the default HTTPS connection.
username Default:
cobbler
The username to log in to Cobbler.
validate_certs
bool
    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

Examples

- name: Commit Cobbler changes
  cobbler_sync:
    host: cobbler01
    username: cobbler
    password: MySuperSecureP4sswOrd
  run_once: yes
  delegate_to: localhost

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

Maintenance

This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.

For a list of other modules that are also maintained by the Ansible Community, see here.

Author

  • Dag Wieers (@dagwieers)

Hint

If you notice any issues in this documentation you can edit this document to improve it.

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