kayobe/ansible/roles/dell-switch/tasks/main.yml
Mark Goddard 17ce724fa4 Move Dell switch configuration to a dell-switch role
This encapsulates the differences between switch OS modules. Also add support
for global switch configuration.
2017-03-24 15:11:32 +00:00

15 lines
461 B
YAML

---
- name: Ensure DellOS6 switches are configured
dellos6_config:
provider: "{{ dell_switch_provider }}"
src: dellos6-config.j2
delegate_to: "{{ dell_switch_delegate_to }}"
when: "{{ dell_switch_type == 'dellos6' }}"
- name: Ensure DellOS9 switches are configured
dellos9_config:
provider: "{{ dell_switch_provider }}"
src: dellos9-config.j2
delegate_to: "{{ dell_switch_delegate_to }}"
when: "{{ dell_switch_type == 'dellos9' }}"