ncstate / ncstate.network / 1.1.3 / module / apcos_dns Manage dns configuration on APC OS devices. Authors: Matt Haught (@haught)ncstate.network.apcos_dns (1.1.3) — module
Install with ansible-galaxy collection install ncstate.network:==1.1.3
collections: - name: ncstate.network version: 1.1.3
This module provides declarative management of APC UPS dns configuration on APC OS NMC systems.
- name: Set dns name ncstate.network.apcos_dns: primarydns: "1.1.1.1"
- name: Set two dns settings ncstate.network.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