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