diff options
author | Peter Sprygada <psprygada@ansible.com> | 2016-04-27 14:41:00 -0400 |
---|---|---|
committer | Peter Sprygada <psprygada@ansible.com> | 2016-05-16 14:05:09 -0400 |
commit | d9fa5a3b8074fbea82a967dda92f7d1b59ab9b46 (patch) | |
tree | df525844dd51c23f62dd152a2cc66ab4f69779c9 | |
parent | e0112a3db33e70b93cb107913ed1b9996acd6eb0 (diff) | |
download | ansible-d9fa5a3b8074fbea82a967dda92f7d1b59ab9b46.tar.gz |
fixes #15496
changed to using OrderedDict to preserve order of lines
-rw-r--r-- | lib/ansible/module_utils/netcfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/netcfg.py b/lib/ansible/module_utils/netcfg.py index ff1d138c23..68607f525c 100644 --- a/lib/ansible/module_utils/netcfg.py +++ b/lib/ansible/module_utils/netcfg.py @@ -229,7 +229,7 @@ class NetworkConfig(object): if self._device_os == 'junos': return updates - diffs = dict() + diffs = collections.OrderedDict() for update in updates: if replace == 'block' and update.parents: update = update.parents[-1] |