nertwork.cumulus-switch
Role Name
NCLU role to set up Cumulus Switches version 3.2 or higher.
Requirements
You need at least Ansible 2.3 and Cumulus Linux version 3.2.
Role Variables
Variable | Description | Type | Default |
---|---|---|---|
cl_license |
Cumulus license as a string | String | `` |
commands |
List of commands to run on all NCLU devices | Array | [] |
group_commands |
List of commands for all NCLU devices in group vars | Array | [] |
switchd_commands |
Commands to restart switchd on NCLU devices | Array | [] |
switchd_group_commands |
Commands to restart switchd for group vars | Array | [] |
Dependencies
Example Playbook
Here’s an example of how to use your role with some variables:
- hosts: servers
roles:
- cumulus-nclu
vars:
- cumulus_nclu:
switchd_commands:
- add interface swp49 breakout 4x
commands:
- add hostname {{ ansible_hostname }}
- add interface swp1 ip address 192.168.0.1/24
cl_license: 'rocketturtle:102u309uofewauj'
cumulus_license_file: /var/tmp/cl_license
License
BSD
Author Information
This section is optional for authors to share contact info or a website (HTML is not allowed).
Informazioni sul progetto
This configures Cumulus Linux 3.2 and above
Installa
ansible-galaxy install nertwork.cumulus-switch
Licenza
Unknown
Download
462
Proprietario