New in version 2.1.
| Removed in Ansible: | |
|---|---|
| version: 2.5 | |
| Why: | The nclu module is designed to be easier to use for individuals who are new to Cumulus Linux by exposing the NCLU interface in an automatable way. |
| Alternative: | Use nclu instead. |
Parameter |
Choices/Defaults |
Comments |
|---|---|---|
|
allowed
required |
|
List of ports to run initial run at 10G.
|
|
location
|
Default:
/etc/network/interfaces.d/
|
Directory to store interface files.
|
Note
# Example playbook entries using the cl_interface_policy module.
- name: shows types of interface ranges supported
cl_interface_policy:
allowed: "lo eth0 swp1-9, swp11, swp12-13s0, swp12-30s1, swp12-30s2, bond0-12"
Common return values are documented here, the following are the fields unique to this module:
Key |
Returned |
Description |
|---|---|---|
|
changed
bool
|
changed |
whether the interface was changed
Sample:
True
|
|
msg
string
|
always |
human-readable report of success or failure
Sample:
interface bond0 config updated
|
This module is flagged as deprecated and will be removed in version { deprecated[‘removed_in’] | default(‘’) | string | convert_symbols_to_format }@. For more information see DEPRECATED.
Hint
If you notice any issues in this documentation you can edit this document to improve it.