haught / haught.apcos / 1.2.2 / module / apcos_dns Manage dns configuration on APC OS devices. Authors: Matt Haught (@haught)haught.apcos.apcos_dns (1.2.2) — module
Install with ansible-galaxy collection install haught.apcos:==1.2.2
collections: - name: haught.apcos version: 1.2.2
This module provides declarative management of APC UPS dns configuration on APC OS NMC systems.
- name: Set dns name haught.apcos.apcos_dns: primarydns: "1.1.1.1"
- name: Set two dns settings haught.apcos.apcos_dns: primarydns: "1.1.1.1" secondarydns: "4.4.4.4"
hostname: description: - Set the host name type: str domainname: description: - Set the domain name type: str primaryserver: description: - Set the primary DNS server. type: str domainnameipv6: description: - Set the domain name IPv6. type: str overridemanual: description: - Override the manual DNS. type: bool systemnamesync: description: - Synchronizes the system name and the hostname. type: bool secondaryserver: description: - Set the secondary DNS server. type: str
commands: description: The list of configuration mode commands to send to the device returned: always sample: - dns -n ups001 type: list