haught.apcos.apcos_system (1.2.2) — module

Manage system configuration on APC OS devices.

Authors: Matt Haught (@haught)

Install collection

Install with ansible-galaxy collection install haught.apcos:==1.2.2


Add to requirements.yml

  collections:
    - name: haught.apcos
      version: 1.2.2

Description

This module provides declarative management of APC OS system configuration on APC UPS NMC systems.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set system name
  haught.apcos.apcos_system:
    name: "device01"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set two system settings
  haught.apcos.apcos_system:
    name: "device01"
    location: "Bldg-101"

Inputs

    
motd:
    description:
    - Show a custom message on the logon page of the web UI or the CLI.
    type: str

name:
    description:
    - System system name of device.
    type: str

contact:
    description:
    - Contact name for device.
    type: str

location:
    description:
    - Location of device.
    type: str

hostnamesync:
    default: false
    description:
    - Synchronize the system and the hostname.
    type: bool

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  sample:
  - system -l Bldg 101
  type: list