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