123456789101112131415161718192021222324252627282930313233343536 |
- ---
- - name: Include base variable file
- include_vars: "{{ base_vars_file }}"
- - name: Check if ethernet switch is supported
- block:
- - name: Check pre-requisites
- include_tasks: pre_requisites.yml
- - name: Configure switch
- include_tasks: apply_config.yml
- - name: Configure SNMP
- include_tasks: snmp_config.yml
- - name: Save current switch configuration to startup-configuration
- dellos10_command:
- commands: "copy running-configuration startup-configuration"
- when: save_changes_to_startup
- when: ethernet_switch_support
|