Peter Sprygada
1a072578c3
minor bugfix that will catch connection errors in junos
...
This commit fixes a situation where connection errors would be caught
but no useful information display. The connection error is now caught
and emitted in a call to fail_json
2016-02-17 14:19:12 +00:00
Peter Sprygada
9e31e33850
minor bugfix that will catch connection errors in nxos
...
This commit fixes a situation where connection errors would be caught
but no useful information display. The connection error is now caught
and emitted in a call to fail_json
2016-02-17 14:19:04 +00:00
James Cammarata
58a6cf822a
Merge pull request #13203 from willthames/galaxy_10620
...
Allow tree-ish versions for ansible-galaxy
2016-02-17 08:41:29 -05:00
Brian Coca
6ddea3e915
removed follow from common file docs
2016-02-15 14:13:20 -05:00
Brian Coca
bc41f46fec
pushed non-atomic to option of last resort
...
try to copy into place first
2016-02-15 12:08:07 -05:00
Pascal Grange
5d49f4e629
Fix related to #13981
...
When working around "bad systems that insist on not allowing
updates in an atomic manner", we should not run previous exception
management code that tries to perform atomic move in case of
exception since the dirty non atomic move has already been
performed.
2016-02-15 10:18:44 +01:00
Brian Coca
0bb49090cf
make some options not mandatory to pass
...
this should simplify api calls
2016-02-13 20:14:38 -05:00
James Cammarata
06b072c1f7
Fix bugs related to task_includes and dep chain inheritance
...
* Fix the way task_include fields were created and copied
* Have blocks get_dep_chain() look at task_include's blocks for proper
dep chain inheritance
* Fix the way task_include fields are copied to prevent a recursive
degradation
Fixes #14460
2016-02-13 01:02:47 -05:00
Peter Sprygada
22aaff5af7
adds new action plugin iosxr_template
...
This adds a new action plugin iosxr_template that allows the
iosxr_template module to pass network device configurations through the
template engine. It also allows configurations to be backed up.
2016-02-12 17:08:21 -05:00
James Cammarata
275728e0f6
Fixing bugs related to nested blocks inside roles
...
* Make sure dep chains are checked recursively for nested blocks
* Fixing iterator is_failed() check to make sure we're not in a
rescue block before returning True
* Use is_failed() to test whether a host should be added to the TQM
failed_hosts list
* Use is_failed() when compiling the list of hosts left to iterate
over in both the linear and free strategies
Fixes #14222
2016-02-12 13:39:39 -05:00
Brian Coca
00f600bfc8
Merge pull request #14319 from bcoca/shell_plugin_revamp
...
moved to base class for shell plugins
2016-02-12 13:08:12 -05:00
Sandra Wills
edf776d6a4
Merge pull request #13805 from aioue/patch-1
...
profile_tasks README.md
2016-02-12 12:23:45 -05:00
Tom Paine
edb36b6c4a
Update profile_tasks.rst
...
remove brackets on links
2016-02-12 17:13:39 +00:00
Peter Sprygada
09a6bf5c15
Merge pull request #14432 from chouseknecht/net_common_cleanup_2
...
Cleanup for networking common bits.
2016-02-12 11:00:37 -05:00
James Cammarata
c485981d1a
Merge pull request #14445 from marcpo/maint/display_string_causing_exception
...
Display the string which is causing an exception to be raised.
2016-02-11 22:50:43 -05:00
Brian Coca
af68ae1e87
switched from threading to multiprocessing
...
functions same, just keeping names from confusing people
2016-02-11 22:25:17 -05:00
James Cammarata
df4912957c
Merge pull request #14442 from bcoca/remove_signal_handling
...
removed signal trapping
2016-02-11 20:37:34 -05:00
Toshio Kuratomi
37879ea671
Update submodule refs
2016-02-11 13:12:57 -08:00
Marc Poirier
0792983ec8
Display the string which is causing an exception to be raised.
...
In the ansible template module, when there is an error while
expanding a templated string, displaying the string causing the
exception is very useful.
2016-02-11 15:42:50 -05:00
Brian Coca
effa64383c
removed signal trapping
2016-02-11 14:54:18 -05:00
Brian Coca
347b28252a
allow skipping tasks due to undefined var
...
mimic 1.x behaviour but give out big deprecation message, not only
for missing attribute but any undefined error.
2016-02-11 14:16:38 -05:00
Brian Coca
cd076dbcfa
Merge pull request #14421 from bcoca/terminate
...
Terminate
2016-02-11 12:36:32 -05:00
Brian Coca
a8aa5ff4eb
fix cartesian lookup
...
it seems that this was not working in 1.9 but we swallowed up the error
fixes #14437
2016-02-11 10:35:37 -05:00
Peter Sprygada
cf251258a8
initial add of new action plugin junos_template
...
This adds a new action plugin, junos_template that allows the
the junos_template module to perform the templating function. It
implements net_template
2016-02-11 08:28:35 -05:00
Peter Sprygada
8f9badb2b4
update shared module junos to handle root logins
2016-02-11 07:36:56 -05:00
Peter Sprygada
9c36c0aa80
minor bug fixes and updates to shell
2016-02-11 07:36:47 -05:00
chouseknecht
5a45ca8bb1
Move Conditional class to netcfg. Added error handling for connect and execute methods.
...
Fix comments
2016-02-11 00:19:25 -05:00
Toshio Kuratomi
9286143b53
Merge pull request #14374 from robinro/fix-mount-without-permission-bug
...
add ismount function in module_utils
2016-02-10 17:32:19 -08:00
Toshio Kuratomi
6276585882
Module params should default to str in most cases.
2016-02-10 15:22:42 -08:00
Brian Coca
64c976a6c3
Merge pull request #14416 from bcoca/diff_size_fix
...
read full file when doing diff
2016-02-10 15:42:29 -05:00
Brian Coca
38120c1075
termination handling
...
- moved to base cli class to handle centrally and duplicate less code
- now avoids duplication and reiteration of signal handler by reassigning it
- left note on how to do non-graceful in case we add in future
as I won't remember everything i did here and don't want to 'relearn' it.
2016-02-10 15:35:30 -05:00
Brian Coca
3079a03773
read full file when doing diff
...
but avoid reading file at all or full file when file is too big for diffing
2016-02-10 12:05:45 -05:00
Toshio Kuratomi
371c7315b0
Merge pull request #14261 from kamsz/devel
...
Add validate_certs param to skip SSL verification in VMware
2016-02-10 08:50:48 -08:00
Toshio Kuratomi
486304ba1c
Clarify error message when module replacer encounters a bad import line for module_utils code
2016-02-10 08:46:17 -08:00
Brian Coca
d9dcb2a427
Revert "centralized TERM signal handling"
...
This reverts commit 5a88478ccc
.
is WIP, not ready for use yet
2016-02-10 09:48:42 -05:00
James Cammarata
2adddac94c
Catch exceptions during module execution so they don't fail the worker
...
Fixes #14120
2016-02-10 09:22:57 -05:00
Brian Coca
5a88478ccc
centralized TERM signal handling
2016-02-09 18:21:33 -05:00
Brian Coca
1b8dec9c88
avoid termination message when term is internal
2016-02-09 18:10:36 -05:00
Brian Coca
b4b24a0889
moved to base class for shell plugins
...
fish now sets env vars correctly
fish checksum now works
fixed and cleaned up imports
fixed typo
2016-02-09 17:39:51 -05:00
Brian Coca
f50b381dba
Merge pull request #13678 from Etherdaemon/fix_datetime_objects
...
fix for datetime exception in ecs_tasks
2016-02-09 17:07:28 -05:00
James Cammarata
a54f472b08
Submodule pointer update for devel
2016-02-09 13:30:50 -05:00
Matthew Stoltenberg
d36394d6a6
strip BECOME-SUCCESS at lower level
...
Fixes #14395
2016-02-09 13:03:18 -05:00
James Cammarata
162dd2594f
Filter become success string from the stdout of script results
...
Fixes #14390
2016-02-09 12:34:15 -05:00
Kamil Szczygiel
9f1eea43fa
support for python < 2.7
2016-02-09 08:49:26 +01:00
Toshio Kuratomi
0f15e59cb2
Also hide the before state of files with --diff and no_log
2016-02-08 22:05:46 -08:00
Toshio Kuratomi
06b2400aae
Need to apply to_str to each element of the list so that we don't mix types in the join()
...
"Third time's the charm"
2016-02-08 20:28:55 -08:00
Brian Coca
81a40ac235
fix winrm erorr formatting
2016-02-08 23:00:19 -05:00
Brian Coca
5014919099
Merge pull request #14347 from bcoca/die_now
...
fix termination on user/signal interrupt
2016-02-08 17:18:11 -05:00
Jonathan Davila
b220051c14
Added more info to the no action detected error
...
Error fix
2016-02-08 16:51:10 -05:00
Tom Paine
8e3cc3eecd
Update profile_tasks.rst
2016-02-08 19:19:05 +00:00