ansible / ansible.builtin / v2.9.27 / module / purefa_dns Configure FlashArray DNS settings | "added in version" 2.8 of ansible.builtin" Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com> preview | supported by communityansible.builtin.purefa_dns (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Set or erase configuration for the DNS settings.
Nameservers provided will overwrite any existing nameservers.
- name: Delete existing DNS settings purefa_dns: state: absent fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
- name: Set DNS settings purefa_dns: domain: purestorage.com nameservers: - 8.8.8.8 - 8.8.4.4 fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
state: choices: - absent - present default: present description: - Set or delete directory service configuration type: str domain: description: - Domain suffix to be appended when performing DNS lookups. type: str fa_url: description: - FlashArray management IPv4 address or Hostname. required: true type: str api_token: description: - FlashArray API token for admin privileged user. required: true type: str nameservers: description: - List of up to 3 unique DNS server IP addresses. These can be IPv4 or IPv6 - No validation is done of the addresses is performed. type: list