freeipa.ansible_freeipa.ipaclient_ipa_conf (1.11.1) — module

Configure ipa.conf

Authors: Thomas Woerner (@t-woerner)

preview | supported by community

Install collection

Install with ansible-galaxy collection install freeipa.ansible_freeipa:==1.11.1


Add to requirements.yml

  collections:
    - name: freeipa.ansible_freeipa
      version: 1.11.1

Description

Configure ipa.conf

Usage examples

2
  • Error
    'server' is not a valid parameter in module 'freeipa.ansible_freeipa.ipaclient_ipa_conf'.
  • Error
    'servers' is a required parameter in module 'freeipa.ansible_freeipa.ipaclient_ipa_conf'.
# Backup and set hostname
- name: Backup and set hostname
  freeipa.ansible_freeipa.ipaclient_ipa_conf:
    server: server.example.com
    domain: example.com
    realm: EXAMPLE.COM
    hostname: client1.example.com
    basedn: dc=example,dc=com

Inputs

    
realm:
    description: Kerberos realm name of the IPA deployment
    required: true
    type: str

basedn:
    description: The basedn of the IPA server (of the form dc=example,dc=com)
    required: true
    type: str

domain:
    description: Primary DNS domain of the IPA deployment
    required: true
    type: str

servers:
    description: Fully qualified name of IPA servers to enroll to
    elements: str
    required: true
    type: list

hostname:
    description: Fully qualified name of this host
    required: true
    type: str