community / community.network / 0.2.1 / module / bcf_switch Create and remove a bcf switch. Authors: Ted (@tedelhourani)community.network.bcf_switch (0.2.1) — module
Install with ansible-galaxy collection install community.network:==0.2.1
collections: - name: community.network version: 0.2.1
Create and remove a Big Cloud Fabric switch.
- name: Bcf leaf switch bcf_switch: name: Rack1Leaf1 fabric_role: leaf leaf_group: R1 mac: 00:00:00:02:00:02 controller: '{{ inventory_hostname }}' state: present validate_certs: false
mac: description: - The MAC address of the switch. required: true name: description: - The name of the switch. required: true state: choices: - present - absent default: present description: - Whether the switch should be present or absent. controller: description: - The controller IP address. required: true leaf_group: description: - The leaf group of the switch if the switch is a leaf. required: false fabric_role: choices: - spine - leaf description: - Fabric role of the switch. required: true access_token: description: - Big Cloud Fabric access token. If this isn't set then the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used. validate_certs: default: true description: - If C(false), SSL certificates will not be validated. This should only be used on personally controlled devices using self-signed certificates. required: false type: bool