alliedtelesis.awplus.awplus_logging (1.0.0) — module

Manage logging on network devices

| "added in version" 2.9 of alliedtelesis.awplus"

Authors: Cheng Yi Kok (@cyk19)

preview | supported by network

Install collection

Install with ansible-galaxy collection install alliedtelesis.awplus:==1.0.0


Add to requirements.yml

  collections:
    - name: alliedtelesis.awplus
      version: 1.0.0

Description

This module provides declarative management of logging on AlliedWare Plus devices.

Inputs

    
dest:
    choices:
    - console
    - host
    - monitor
    - buffered
    - permanent
    - external
    - facility
    description:
    - Destination of the logs.

name:
    description:
    - The hostname or IP address of the destination.
    - Required when I(dest=host).

size:
    default: 4096
    description:
    - Size of buffer. The acceptable value is in range from 4096 to 4294967295 bytes.

level:
    choices:
    - emergencies
    - alerts
    - critical
    - errors
    - warnings
    - notices
    - informational
    - debugging
    - any
    default: debugging
    description:
    - Set logging severity levels.

state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the logging configuration.

facility:
    description:
    - Set logging facility.

aggregate:
    description: List of logging definitions.

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  sample:
  - logging facility local7
  - logging host 172.16.0.1
  type: list