community.general.cobbler_sync (8.5.0) — module

Sync Cobbler

Authors: Dag Wieers (@dagwieers)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

Sync Cobbler to commit changes.

Usage examples

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

Inputs

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

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

use_ssl:
    default: true
    description:
    - If V(false), an HTTP connection will be used instead of the default HTTPS connection.
    type: bool

password:
    description:
    - The password to log in to Cobbler.
    type: str

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

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