ubika.waap.certificate (1.0.3) — module

Managed certificates

| "added in version" 1.0.0 of ubika.waap"

Authors: UBIKA team (@ubika_team)

Install collection

Install with ansible-galaxy collection install ubika.waap:==1.0.3


Add to requirements.yml

  collections:
    - name: ubika.waap
      version: 1.0.3

Description

Manage certificates

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: have "test" certificate
  ubika.waap.certificate:
    credentials:
      host: ubikawaap.local:3001
      username: superadmin
      password: "Denyall@1"
      verify_ssl: false
    name: test
    type: pem
    certificate: ./files/cert.pem
    private_key: ./files/key-nopass.pem

Inputs

    
crt:
    aliases:
    - certificate
    description:
    - The path to the certificate file.
    required: false
    type: path

key:
    aliases:
    - private_key
    description:
    - Key file path of the certificate.
    required: false
    type: path

name:
    description:
    - Name of the certificate.
    required: true
    type: str

type:
    choices:
    - pem
    - p12
    default: pem
    description:
    - Type of the certificate.
    type: str

chain:
    description:
    - Chain file path of the certificate.
    required: false
    type: path

state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the certificate.
    type: str

filter:
    description:
    - Enable filter
    required: false
    suboptions:
      label:
        description:
        - Label object to filter
        suboptions:
          name:
            description:
            - Name of the label.
            required: false
            type: str
        type: dict
    type: dict

labels:
    description:
    - Labels list.
    elements: str
    required: false
    type: list

pkcs12:
    description:
    - The path to pkcs12 the certificate file.
    required: false
    type: path

password:
    description:
    - Password of the certificate.
    required: false
    type: str

credentials:
    description:
    - Credentials for UBIKA WAAP Gateway
    required: true
    suboptions:
      host:
        description:
        - UBIKA WAAP Gateway host
        required: true
        type: str
      password:
        description:
        - Administrator password
        required: true
        type: str
      username:
        description:
        - Administrator user name
        required: true
        type: str
      verify_ssl:
        default: true
        description:
        - Set to false to disable SSL verification
        type: bool
    type: dict