# nxos\_command using the src option

**URL:** <https://forum.ansible.com/t/nxos-command-using-the-src-option/22981>\
**Category:** Ansible Project\
**Created:** [November 8, 2016, 6:43pm UTC](https://forum.ansible.com/t/nxos-command-using-the-src-option/22981 "2016-11-08T18:43:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamullen13316](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mamullen13316/32/1774_2.png) [@mamullen13316](https://forum.ansible.com/u/mamullen13316)\
**Post date:** [November 8, 2016, 6:43pm UTC](https://forum.ansible.com/t/nxos-command-using-the-src-option/22981/1 "2016-11-08T18:43:52Z")

</div>

I’m using the src parameter of nxos\_config to enter several configuration lines at once. When it detects that one of the lines differs from the running configuration, does it push the entire block from the src file or just the line that was different? Also is there any way to display the line or lines that were updated in Ansible?

My test playbook looks like this:

`
