ansible / ansible.builtin / v2.9.27 / module / purefb_subnet Manage network subnets in a Pure Storage FlashBlade | "added in version" 2.8 of ansible.builtin" Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com> preview | supported by communityansible.builtin.purefb_subnet (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module manages network subnets on Pure Storage FlashBlade.
- name: Create new network subnet named foo purefb_subnet: name: foo prefix: "10.21.200.3/24" gateway: 10.21.200.1 mtu: 9000 vlan: 2200 state: present fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Change configuration of existing subnet foo purefb_network: name: foo state: present prefix: "10.21.100.3/24" gateway: 10.21.100.1 mtu: 1500 address: 10.21.200.123 fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Delete network subnet named foo purefb_subnet: name: foo state: absent fb_url: 10.10.10.2
mtu: default: 1500 description: - MTU size of the subnet. Range is 1280 to 9216. required: false type: int name: description: - Subnet Name. required: true type: str vlan: default: 0 description: - VLAN ID of the subnet. required: false type: int state: choices: - present - absent default: present description: - Create, delete or modifies a subnet. required: false type: str fb_url: description: - FlashBlade management IP address or Hostname. type: str prefix: description: - IPv4 or IPv6 address associated with the subnet. - Supply the prefix length (CIDR) as well as the IP address. required: false type: str gateway: description: - IPv4 or IPv6 address of subnet gateway. required: false type: str api_token: description: - FlashBlade API token for admin privileged user. type: str