community.network.pn_cluster – CLI command to create/delete a cluster.¶
This plugin is part of the community.network collection.
To install it use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
- Removed in
Doesn’t support latest Pluribus Networks netvisor
Latest modules will be pushed in Ansible future versions.
Execute cluster-create or cluster-delete command.
A cluster allows two switches to cooperate in high-availability (HA) deployments. The nodes that form the cluster must be members of the same fabric. Clusters are typically used in conjunction with a virtual link aggregation group (VLAG) that allows links physically connected to two separate switches appear as a single trunk to a third device. The third device can be a switch,server, or any Ethernet device.
- name: Create spine cluster community.network.pn_cluster: state: 'present' pn_name: 'spine-cluster' pn_cluster_node1: 'spine01' pn_cluster_node2: 'spine02' pn_validate: True pn_quiet: True - name: Delete spine cluster community.network.pn_cluster: state: 'absent' pn_name: 'spine-cluster' pn_quiet: True
Common return values are documented here, the following are the fields unique to this module: