ansible.builtin.cobbler_sync (v2.9.27) — module

Sync Cobbler

| "added in version" 2.7 of ansible.builtin"

Authors: Dag Wieers (@dagwieers)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Sync Cobbler to commit changes.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Commit Cobbler changes
  cobbler_sync:
    host: cobbler01
    username: cobbler
    password: MySuperSecureP4sswOrd
  run_once: yes
  delegate_to: localhost

Inputs

    
host:
    default: 127.0.0.1
    description:
    - The name or IP address of the Cobbler system.

port:
    description:
    - Port number to be used for REST connection.
    - The default value depends on parameter C(use_ssl).

use_ssl:
    default: 'yes'
    description:
    - If C(no), an HTTP connection will be used instead of the default HTTPS connection.
    type: bool

password:
    description:
    - The password to log in to Cobbler.
    required: true

username:
    default: cobbler
    description:
    - The username to log in to Cobbler.

validate_certs:
    default: 'yes'
    description:
    - If C(no), SSL certificates will not be validated.
    - This should only set to C(no) when used on personally controlled sites using self-signed
      certificates.
    type: bool