ubika.waap.compression (1.0.3) — module

Managed compressions

| "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 compressions

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Have compression

  ubika.waap.compression:

    credentials:
      host: ubikawaap.local:3001
      username: superadmin
      password: "Denyall@0"
      verify_ssl: false
    name: compression
    buffer_size: 8096
    compression_level: 5
    memory_level: 9
    window_size: 15

Inputs

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

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

buffer_size:
    description:
    - Enter the size of the compression buffer
    required: true
    type: int

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

window_size:
    description:
    - Enter the size of the window used for compression.
    required: true
    type: int

memory_level:
    description:
    - Enter the level of memory used for the compression. The higher the level, the more
      hardware resources will be used.
    required: true
    type: int

content_types:
    description:
    - Content types that will be compressed
    required: false
    type: str

exclude_browser:
    description:
    - Enter the signatures of browsers for which you don't want to enable compression.
    required: false
    type: str

compression_level:
    description:
    - Enter the compression ratio. The higher the ratio, the smaller the size of the data
      will be, but the use of hardware resources will be higher.
    required: true
    type: int