freeipa.ansible_freeipa.ipaclient_get_otp (1.11.1) — module

Get OTP for host enrollment

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

Get OTP for host enrollment

Inputs

    
hostname:
    description: The FQDN hostname.
    required: true
    type: str

ipaadmin_keytab:
    description: 'The admin keytab. Either ipaadmin_password or ipaadmin_keytab needs

      to be given.

      '
    required: false
    type: str

ipaadmin_password:
    description: 'The admin password. Either ipaadmin_password or ipaadmin_keytab needs

      to be given.

      '
    required: false
    type: str

ipaadmin_principal:
    default: admin
    description: The admin principal.
    type: str

Outputs

host:
  contains:
    randompassword:
      description: The generated random password
      type: str
  description: Host dict with random password
  returned: always
  type: dict