File: //lib/python3.9/site-packages/ansible_collections/dellemc/os10/roles/os10_logging/tasks/main.yml
---
# tasks file for os10
- name: "Generating logging configuration for os10"
template:
src: os10_logging.j2
dest: "{{ build_dir }}/logging10_{{ 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
- name: "Provisioning logging configuration for os10"
os10_config:
src: os10_logging.j2
when: (ansible_network_os is defined and ansible_network_os == "dellemc.os10.os10")
# notify: save config os10
register: output