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