freeipa.ansible_freeipa.ipaclient_api (1.11.1) — module

Create temporary NSS database, call IPA API for remaining enrollment parts

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

Create temporary NSS database, call IPA API for remaining enrollment parts

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: IPA API calls for remaining enrollment parts
  freeipa.ansible_freeipa.ipaclient_api:
    servers: ["server1.example.com","server2.example.com"]
    domain: example.com
    hostname: client1.example.com
    krb_name: /tmp/tmpkrb5.conf
  register: result_ipaclient_api

Inputs

    
debug:
    default: false
    description: Turn on extra debugging
    required: false
    type: bool

realm:
    description: Kerberos realm name 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

krb_name:
    description: The krb5 config file name
    required: true
    type: str

Outputs

ca_enabled:
  description: Wheter the Certificate Authority is enabled or not.
  returned: always
  type: bool
subject_base:
  description: The subject base, needed for certmonger
  returned: always
  sample: O=EXAMPLE.COM
  type: str