New in version 2.4.
parameter | required | default | choices | comments |
---|---|---|---|---|
access_token | no | Big Cloud Fabric access token. If this isn't set then the environment variable BIGSWITCH_ACCESS_TOKEN is used. | ||
controller | yes | The controller IP address. | ||
fabric_role | yes |
| Fabric role of the switch. | |
leaf_group | no | The leaf group of the switch if the switch is a leaf. | ||
mac | yes | The MAC address of the switch. | ||
name | yes | The name of the switch. | ||
state | no | present |
| Whether the switch should be present or absent. |
validate_certs | no | True |
| If false , SSL certificates will not be validated. This should only be used on personally controlled devices using self-signed certificates. |
- 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
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/bcf_switch_module.html