---
# tasks file for os6

 - name: "Generating BGP configuration for os6"
   template:
      src: os6_bgp.j2
      dest: "{{ build_dir }}/bgp6_{{ 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 BGP configuration for os6"
   dellemc.os6.os6_config:
      src: os6_bgp.j2
   when: (ansible_network_os is defined and ansible_network_os == "dellemc.os6.os6")
#   notify: save config os6
   register: output