I am trying to use diff_against to show the before and after changes with 
--diiff but it is not working

can some was worked already on it can you please help here.

Ansible version:-2.9.10

playbook:-

---

- hosts: ciscorouter

gather_facts: no

tasks:

- name: Pre-check

ios_config:

lines:

- username xxxx privilege 15 password 0 xxxx

save_when: changed

#check_mode: yes

diff_against: "running"

register: change

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/02fd2f49-e2db-47d5-8bd5-26c8df7acb8en%40googlegroups.com.

Reply via email to