purestorage.flashblade.purefb_dns (1.17.0) — module

Configure Pure Storage FlashBlade DNS settings

| "added in version" 1.0.0 of purestorage.flashblade"

Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install purestorage.flashblade:==1.17.0


Add to requirements.yml

  collections:
    - name: purestorage.flashblade
      version: 1.17.0

Description

Set or erase DNS configuration for Pure Storage FlashBlades.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete exisitng DNS settings
  purestorage.flashblade.purefb_dns:
    state: absent
    fa_url: 10.10.10.2
    api_token: T-9f276a18-50ab-446e-8a0c-666a3529a1b6
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set DNS settings
  purestorage.flashblade.purefb_dns:
    domain: purestorage.com
    nameservers:
      - 8.8.8.8
      - 8.8.4.4
    search:
      - purestorage.com
      - acme.com
    fa_url: 10.10.10.2
    api_token: T-9f276a18-50ab-446e-8a0c-666a3529a1b6

Inputs

    
state:
    choices:
    - absent
    - present
    default: present
    description:
    - Create or delete DNS servers configuration
    type: str

domain:
    description:
    - Domain suffix to be appended when perofrming DNS lookups.
    type: str

fb_url:
    description:
    - FlashBlade management IP address or Hostname.
    type: str

search:
    description:
    - Ordered list of domain names to search
    - Deprecated option. Will be removed in Collection v1.6.0, There is no replacement
      for this.
    elements: str
    type: list

api_token:
    description:
    - FlashBlade API token for admin privileged user.
    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.
    elements: str
    type: list