File: //usr/lib/python3.9/site-packages/ansible_collections/dellemc/os6/roles/os6_lag/tasks/main.yml
---
# tasks file for os6
- name: "Generating LAG configuration for os6"
template:
src: os6_lag.j2
dest: "{{ build_dir }}/lag6_{{ hostname }}.conf.part"
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os6.os6") and ((os6_cfg_generate | default('False')) | bool)
# notify: save config os6
register: generate_output
- name: "Provisioning LAG configuration for os6"
dellemc.os6.os6_config:
src: os6_lag.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os6.os6")
# notify: save config os6
register: output