Hi,
I was going thru this post (
https://blog.networktocode.com/post/generating-diff-with-ansible/) where
its mentioned that we can use check and diff mode together. I am trying to
use that for gold config audit (audit pre decided config against what is
present on device) for Cisco and Extre
in running config and your cfg file.
>
> "updates": [
> "configure ntp server add x.x.x.x"
> ],
>
> I don't see any issue with the output. Did you try changing the ntp
> setting on the device yourself and check out the differenc
mple exits online. Somehow its not working for me. I thought someone
could guide with this.
-Shyam
On Wednesday, July 15, 2020 at 2:00:45 PM UTC+5:30, Stefan Hornburg (Racke)
wrote:
>
> On 7/15/20 10:08 AM, Shyam Sunder wrote:
> > Thanks for reply. Yes below is my intended config -
Hi,
I am new to Ansible an trying to achieve this below. Is this possible to
set a dictionary property using key in Ansible.
vars:
mydict:
keyA:
path: ‘path of device A’
error_files: []
keyB:
path: ‘path of device B’
error_files: []
at 2:27:18 PM UTC+5:30, Shyam Sunder wrote:
>
> Hi,
>
> I am new to Ansible an trying to achieve this below. Is this possible to
> set a dictionary property using key in Ansible.
>
> vars:
> mydict:
>keyA:
> path: ‘path of device A’
&g
Hi There,
I am new with Ansible and still figuring out how to use with_together with
block.
UseCase: Trying to compare configuration of device A and device B. Below is
a snippet from my script.
-
hosts: pairB
connection: network_cli
name: script to audit HSRP config of pair B device
ta