---
# tasks file for os9
 - name: "Generating BGP configuration for os9"
   template:
      src: os9_bgp.j2
      dest: "{{ build_dir }}/bgp9_{{ 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 BGP configuration for os9"
   dellemc.os9.os9_config:
      src: os9_bgp.j2
   when: (ansible_network_os is defined and ansible_network_os == "dellemc.os9.os9")
#   notify: save config os9
   register: output
