wojtek0806 / wojtek0806.f5os / 0.3.0 / module / velos_partition Manage VELOS chassis partitions | "added in version" 1.0.0 of wojtek0806.f5os" Authors: Ravinder Reddy (@chinthalapalli)wojtek0806.f5os.velos_partition (0.3.0) — module
Install with ansible-galaxy collection install wojtek0806.f5os:==0.3.0
collections: - name: wojtek0806.f5os version: 0.3.0
Manage VELOS chassis partitions.
- hosts: all collections: - f5networks.f5os connection: httpapi vars: ansible_host: "lb.mydomain.com" ansible_user: "admin" ansible_httpapi_password: "secret" ansible_network_os: f5networks.f5os.bigip ansible_httpapi_use_ssl: yes tasks: - name: Create partition 'foo' velos_partition: name: foo state: present os_version: 1.1.1-5046 ipv4_mgmt_address: 10.144.140.124/24 ipv4_mgmt_gateway: 10.144.140.254 slots: [4,5] - name: Delete partition 'foo' velos_partition: name: foo state: absent
name: description: - Name of the chassis partition. required: true type: str slots: description: - List (integers), specifies which slots with which the chassis partition should associated. - By default, the chassis partition is not associated with any slots. elements: int type: list state: choices: - present - absent - enabled - disabled default: present description: - The chassis partition state. If C(absent), deletes the chassis partition if it exists. C(present) creates the chassis partition and enables it. If C(enabled), enables the chassis partition if it exists. If C(disabled), creates the chassis partition if needed, and sets state to C(disabled). type: str wait_time: default: 300 description: - Max number of seconds to wait after creating a chassis partition for it to transition to the 'running' state. type: int os_version: description: - Chassis partition F5OS-C OS version. - The value C(none) can be used during an update to remove this value. - This value must be in ISO format on the VELOS controller, otherwise you receive an illegal reference error message. type: str ipv4_mgmt_address: description: - Specifies the IPv4 address and subnet or subnet mask you use to access the chassis partition. - When creating a new chassis partition, if the CIDR notation is not used, a default of C(/24) is appended to the address. - The address must be specified in CIDR notation e.g. 192.168.1.1/24. type: str ipv4_mgmt_gateway: description: - Chassis partition management gateway. - The value C(none) can be used during an update to remove this value. type: str ipv6_mgmt_address: description: - Specifies the IPv6 address and subnet or subnet mask that you use to access the chassis partition. - When creating a new chassis partition, if the CIDR notation is not used a default of C(/96) is appended to the address. - The address must be specified in CIDR notation e.g. 2002::1234:abcd:ffff:c0a8:101/64. type: str ipv6_mgmt_gateway: description: - Chassis partition management gateway. - The value C(none) can be used during an update to remove this value. type: str
ipv4_mgmt_address: description: Specifies the IPv4 address and subnet or subnet mask that you use to access the partition. returned: changed sample: 192.168.1.12/24 type: str ipv4_mgmt_gateway: description: Partition management gateway. returned: changed sample: 192.168.1.1 type: str name: description: Specify the name of the partition. returned: changed sample: foo type: str os_version: description: Partition OS version. returned: changed sample: 1.1.1-5046 type: str slots: description: Specifies which slots with which the partition should be associated. returned: changed sample: - 3 - 4 type: list