Matt Clay
d317560914
Update submodule refs.
2016-09-08 18:09:36 -07:00
Peter Sprygada
686d79a515
Merge pull request #17467 from privateip/netcfg
...
fixes issue with netcfg not working with match=line and path
2016-09-08 15:48:40 -04:00
Peter Sprygada
457a6ca03e
fixes issue with netcfg not working with match=line and path
...
The difference() method now checks this condition and doesn't filter
the path when match=line
2016-09-08 15:19:12 -04:00
Tobias Wolf
9838d6420a
Re-fix the per-item diff output, ( #17458 )
...
which got lost in recent big 'performance improvements' merge by @jimi-c.
I had made a previous PR to fix this, then @bcoca had committed an
improved fix. Now it's lost again.
cf: d2b3b2c03e
(lost here)
cf: 25e9b5788b
(previous fix)
Earlier PR #14849
Earlier issue #14843
Please note that jimi-c broke this last time as well ... seeing a
pattern here.
2016-09-08 11:59:35 -04:00
Edward Marshall
1ec9ac4b70
Defined children for get_vm ( #15904 )
2016-09-08 08:41:32 -07:00
Abhijit Menon-Sen
032bd1dacf
Fix typo
2016-09-08 19:01:37 +05:30
Peter Sprygada
982db58aff
Merge pull request #17452 from privateip/netcfg
...
adds context to diff functions based on config path
2016-09-07 21:49:09 -04:00
Peter Sprygada
d64eaae232
Merge pull request #16553 from ericchou1/devel
...
Added axapi_authenticate_v3 and axapi_call_v3 for AXAPIv3
2016-09-07 21:41:51 -04:00
Peter Sprygada
08eeb1518a
adds context to diff functions based on config path
...
* difference() now accepts a path keyword to specify comparision domain
2016-09-07 19:40:47 -04:00
Andrea Tartaglia
ba28f1a2da
Make ssh_executable available as ansible_ssh_* variable ( #17450 )
2016-09-07 14:13:11 -07:00
James Cammarata
d1a7e07ccc
Fixing another logic issue related to include_role changes
2016-09-07 15:16:11 -05:00
Peter Sprygada
715b800ef1
Merge pull request #17447 from privateip/eos
...
minor fix in eos shared module returning diff
2016-09-07 15:10:43 -04:00
Peter Sprygada
675e87f68d
minor fix in eos shared module returning diff
...
The diff returned from eos when the transport was set to eapi was as
a dict but is expected to be a str. This change extracts the diff string
from the dict object and returns it. The behavior is now consistent
between cli and eapi transports.
2016-09-07 14:26:10 -04:00
Brian Coca
65c373c55a
fixed bad condition hiding results
2016-09-07 12:55:03 -04:00
@skg_net
e5b8a177d7
Support files for dnos10_template module ( #17399 )
2016-09-07 17:35:02 +01:00
Brian Coca
a4abf8da79
Flush cache ( #17445 )
...
* transfer module based on pipelining, not tmp
fixes #17381
* added missing flush cache option back
2016-09-07 12:12:41 -04:00
Andrea Tartaglia
dd71469bb7
Added option to change ssh executable path ( #17377 )
2016-09-07 08:41:43 -07:00
Adrian Likins
07e713e7c6
Fix NameError on 'ansible-vault view' ( #17440 )
2016-09-07 10:48:01 -04:00
Toshio Kuratomi
8c43750a3e
Update submodule refs
2016-09-07 07:23:03 -07:00
Peter Sprygada
d67af04c45
Merge pull request #17431 from privateip/eos
...
minor roll up of fixes to eos shared module
2016-09-07 08:42:34 -04:00
Toshio Kuratomi
4ed88512e4
Move uses of to_bytes, to_text, to_native to use the module_utils version ( #17423 )
...
We couldn't copy to_unicode, to_bytes, to_str into module_utils because
of licensing. So once created it we had two sets of functions that did
the same things but had different implementations. To remedy that, this
change removes the ansible.utils.unicode versions of those functions.
2016-09-06 22:54:17 -07:00
Peter Sprygada
ca95b2ae4f
minor roll up of fixes to eos shared module
...
* added back import of Command object
* fixed eapi requests to handle output format correctly
* get_config() now honors include_defaults kwargs
2016-09-06 22:54:04 -04:00
Matt Davis
f239e1e61f
windows async changes and tests ( #17400 )
2016-09-06 17:38:12 -07:00
nitzmahone
056a7cb957
bump core submodule ref for async_wrapper.ps1 bugfix
2016-09-06 16:52:44 -07:00
Matt Clay
94a0d2afb4
Add partially backwards compatible version of _fixup_perms. ( #17427 )
...
Also added a deprecation notice for _fixup_perms.
Resolves issue #17352 (assumes custom actions use recursive=False).
2016-09-06 16:49:59 -07:00
Toshio Kuratomi
1d412059a0
Fix UnicodeError loading plugins with non-ascii in them on python3
2016-09-06 16:35:25 -07:00
Peter Sprygada
113dfc5562
Merge pull request #17426 from privateip/nxos
...
fixes issue when piping commands through json with output not specifed
2016-09-06 19:24:05 -04:00
Peter Sprygada
52d1187f5c
Merge pull request #17425 from privateip/netcli
...
removes command caching on retrieve from netcli
2016-09-06 19:23:53 -04:00
Peter Sprygada
666b19869b
Merge pull request #17424 from privateip/fix-17408
...
removes unneeded code from netcli
2016-09-06 19:23:41 -04:00
Peter Sprygada
5730c97f9e
Merge pull request #17422 from privateip/fix-17407
...
bug fix for AttributeError: 'str' object has no attribute 'get'
2016-09-06 19:23:28 -04:00
Peter Sprygada
c228dfe692
fixes issue when piping commands through json with output not specifed
...
There is an issue when piping cli commands through json but the output
is specified as either text or the output is none and the transport is
cli. The results would not be loaded properly for conditional
evaluation. This is similar to #17422
2016-09-06 16:55:53 -04:00
Peter Sprygada
da931b04ad
removes command caching on retrieve from netcli
...
The caching of commands in CommandRunner is providing no useful feature
and causing problems. This removes the code and simply returns the
requested command results.
2016-09-06 16:53:14 -04:00
Peter Sprygada
fbda7d127f
removes unneeded code from netcli
...
Some old remnants of code from the refactor of netcli was left over as
reported in #17408 . This commit removes the old code as it isn't need
and in fact wasnt doing anything
2016-09-06 16:35:06 -04:00
nitzmahone
abbb93e117
bump core submodule ref for windows async
2016-09-06 13:29:45 -07:00
Matt Davis
b860b2d258
windows environment support ( #17402 )
2016-09-06 13:00:21 -07:00
Peter Sprygada
7fe64ef9b8
bug fix for AttributeError: 'str' object has no attribute 'get'
...
Exception thrown when using cli transport in eos but piping the command
through json
* eos now checks for `| json` and automatically changes the output type
* adds back import of Command object
tested on EOS 4.15.4F
2016-09-06 15:33:55 -04:00
Toshio Kuratomi
b6d24be09e
Update submodule refs
2016-09-06 12:30:20 -07:00
James Cammarata
37f721f315
Remove debug lock
2016-09-06 13:04:50 -05:00
Nathaniel Case
972dc3fc97
Network module cleanup ( #17334 )
...
* Clean up EOS, IOS, IOS-XR, Junos, NX-OS, and OpenSwitch
* Cleanup net* files
* Re-add NetworkModule import to network module_utils files
This will trick modules into importing code from module_utils code, thus
including it in the final Ansiballz zipfile.
* Give asa a look over, too
2016-09-06 13:49:48 -04:00
James Cammarata
7a0b25d5fa
Fixing incorrect 'task' variable bug in strategy/__init__.py
2016-09-05 23:41:21 -05:00
Marc-André Gatien
d56b0aa813
typo fix for variable ANSIBLE_ETCD_VERSION ( #17373 )
2016-09-05 23:00:56 -04:00
Michael Scherer
02d9f14b8b
Do not crash if current dir do not exist, fix #17369 ( #17379 )
...
Do not crash if current dir do not exist
2016-09-05 22:46:47 -04:00
Brian Coca
ff34f5548d
Dynamic role include ( #17401 )
...
* dynamic role_include
* more fixes for dynamic include roles
* set play yfrom iterator when dynamic
* changes from jimi-c
* avoid modules that break ad hoc
TODO: should really be a config
2016-09-05 20:07:58 -04:00
Peter Sprygada
439aa353f1
fixes bug when template is missing src argument
...
adds AttributeError to exception handling to change missing src argument
fixes #17391
2016-09-05 08:54:14 -04:00
Peter Sprygada
9c5bcda4fe
Merge pull request #17388 from privateip/asa
...
fix up asa shared module
2016-09-04 20:59:20 -04:00
Peter Sprygada
06c76034dc
Merge pull request #17385 from privateip/shell
...
minor optimizations and clean up in shell.py
2016-09-04 09:21:28 -04:00
Peter Sprygada
1b1c1fe992
Merge pull request #17386 from privateip/netcli
...
clean up method signatures in netcli
2016-09-04 09:21:17 -04:00
Peter Sprygada
d976c80a22
roll up of updates to junos shared module
...
* adds implementation for Network methods
* adds action plugin junos_config
* removes _log() and raises exceptions instead to be handled by the module
2016-09-04 08:37:33 -04:00
Peter Sprygada
a839acfa33
clean up method signatures in netcli
...
removes unneeded **kwargs from methods in netcli
2016-09-04 08:34:37 -04:00
Peter Sprygada
a40515524f
minor optimizations and clean up in shell.py
...
* cleans up method signatures
* drops checking for Command properties that no longer exist
2016-09-04 08:33:26 -04:00