dbb452100a
* First set of CNOS network modules Two modules: cnos_vlan and cnos_command. First 2 of 17 CNOS modules * Revert "First set of CNOS network modules" This reverts commit 63da68b2a857e622b449f514050eed25fbcf0a35. * cnos_vlan module First of 17 CNOS modules * Modify playbook for cnos_vlan module testing * fix issue found by shippable in cnos.py * cnos_backup module * Fix Python3.5 compilation error * remove cnos_backup module from this PR * add aliases file so that testing of the cnos_vlan module will be skipped. * Use empty aliases file * utility scripts under module_utils changed to BSD license. * clean up PEP8 issues, add cnos_vlan tests * remove blank lines from yml files * remove more blank lines * remove even more blank lines * Revert "remove even more blank lines" This reverts commit bb3998661ce387260340bca39d5f146f5ec54f44. * re-submit last commit * fix blank lines in this file under parsing * fix yamllint errors in doc section of cnos_vlan * Fix errors reported by Sanity check using validate-modules * change test playbook to include tasks for all modules * fix additional pep8 errors * more fixes, plus fix for python3 * fix for empty options section, removed unnecessary documentation * fix up documentation section * Correct options capitalization * fix example section, add options * Fix example section of the documentation
24 lines
No EOL
1.2 KiB
YAML
24 lines
No EOL
1.2 KiB
YAML
- hosts: cnos
|
|
gather_facts: no
|
|
connection: local
|
|
|
|
vars:
|
|
limit_to: "*"
|
|
debug: false
|
|
|
|
roles:
|
|
- { role: cnos_facts, when: "limit_to in ['*', 'cnos_facts']" }
|
|
- { role: cnos_vlan, when: "limit_to in ['*', 'cnos_vlan']" }
|
|
- { role: cnos_ethernet, when: "limit_to in ['*', 'cnos_ethernet']" }
|
|
- { role: cnos_image, when: "limit_to in ['*', 'cnos_image']" }
|
|
- { role: cnos_portchannel, when: "limit_to in ['*', 'cnos_portchannel']" }
|
|
- { role: cnos_rollback, when: "limit_to in ['*', 'cnos_rollback']" }
|
|
- { role: cnos_save, when: "limit_to in ['*', 'cnos_save']" }
|
|
- { role: cnos_template, when: "limit_to in ['*', 'cnos_template']" }
|
|
- { role: cnos_conditional_template, when: "limit_to in ['*', 'cnos_conditional_template']" }
|
|
- { role: cnos_conditional_command, when: "limit_to in ['*', 'cnos_conditional_command']" }
|
|
- { role: cnos_vlag, when: "limit_to in ['*', 'cnos_vlag']" }
|
|
- { role: cnos_command, when: "limit_to in ['*', 'cnos_command']" }
|
|
- { role: cnos_bgp, when: "limit_to in ['*', 'cnos_bgp']" }
|
|
- { role: cnos_backup, when: "limit_to in ['*', 'cnos_backup']" }
|
|
- { role: cnos_showrun, when: "limit_to in ['*', 'cnos_showrun']" } |