From ed71c699339d0d0a34e4ab145d9287b1b89a3d29 Mon Sep 17 00:00:00 2001 From: "cristian@rincewind" Date: Thu, 20 Jan 2022 15:34:40 +0000 Subject: [PATCH] yaml fixes --- playbook.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/playbook.yml b/playbook.yml index b4bf95b..ba98fb6 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,16 +1,17 @@ +--- - # This comment is indented at the wrong level -- name: DEPLOYING SNMP CONFIGURATIONS ON IOS AND JUNOS BASED ON THE NETWORK OS TYPE FROM A DICTIONARY +# This comment is indented at the wrong level +- name: DEPLOYING SNMP CONFIGURATIONS ON IOS AND JUNOS hosts: iosxe,vmx vars: ansible_connection: network_cli - vendor_commands : + vendor_commands: ios: | snmp-server community ntc-team RO snmp-server location FL_HQ snmp-server contact JAMES_CHARLES - ios: | + junos: | set snmp location FL_HQ set snmp contact JAMES_CHARLES set snmp community public authorization read-only