Toshio Kuratomi
5336a51a9e
Update submodule for fix to mysql_user password
2016-02-11 13:09:59 -08:00
Toshio Kuratomi
9c049b757f
Revert "Module params should default to str in most cases."
...
This reverts commit 9fae8501e2
.
Reverting for 2.0.1 -- this has been broken in the 2.0 tree for long
enough that some modules are relying on the broken behaviour. This fix
will definitely return for 2.1.0 and may return in 2.0.2 (impact needs
to be evaluated).
2016-02-11 12:58:41 -08:00
Brian Coca
0ccbbe0c09
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:32:49 -05:00
Brian Coca
43bbd4b6dc
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-11 12:42:12 -05:00
Brian Coca
517eec8c49
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:36:04 -05:00
nitzmahone
b85d9acc09
update core submodule ref
2016-02-10 22:32:32 -08:00
Toshio Kuratomi
ba5a3f2f67
Update submodule ref
2016-02-10 17:38:24 -08:00
Robin Roth
eafc46512d
fix typo
2016-02-10 17:37:18 -08:00
Robin Roth
39a53c5623
add ismount function from python Lib/posixpath.py
...
needed for https://github.com/ansible/ansible-modules-core/pull/2737
2016-02-10 17:37:07 -08:00
Toshio Kuratomi
9fae8501e2
Module params should default to str in most cases.
2016-02-10 15:33:30 -08:00
Brian Coca
724761d2a1
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 15:47:44 -05:00
Toshio Kuratomi
3e2b2b359c
Clarify error message when module replacer encounters a bad import line for module_utils code
2016-02-10 08:47:45 -08:00
James Cammarata
5ebd5c548c
Catch exceptions during module execution so they don't fail the worker
...
Fixes #14120
2016-02-10 09:24:44 -05:00
Brian Coca
18ffa8a4da
avoid termination message when term is internal
2016-02-09 18:11:11 -05:00
Etherdaemon
fa88d0770c
Proposed fix for ansible/ansible-modules-extras#1348 due to datetime.datetime type not being matched
2016-02-09 17:12:36 -05:00
James Cammarata
24cae22e0b
Submodule pointer update
2016-02-09 13:29:45 -05:00
Matthew Stoltenberg
4f2a2ec884
strip BECOME-SUCCESS at lower level
...
Fixes #14395
2016-02-09 13:12:46 -05:00
James Cammarata
7d44063c1e
Filter become success string from the stdout of script results
...
Fixes #14390
2016-02-09 12:38:31 -05:00
Toshio Kuratomi
dcc0a2d596
Also hide the before state of files with --diff and no_log
2016-02-08 22:06:38 -08:00
Brian Coca
c97afd0c48
fix winrm erorr formatting
2016-02-08 23:00:49 -05:00
Brian Coca
7c726d197b
correctly handle term signals
...
- adhoc now terminates gracefully
- avoid race condition on terminations by ignoring errors if
worker might have been reaped between checking if active and termination call
- ansible-playbook now properly exits on sigint/term
- adhoc and playbook now give exceptions that we should not normally capture
and rely on top level finally to reap children
- handle systemexit breaks in workers
- added debug to see at which frame we exit
partial fix for #14346
2016-02-08 17:23:13 -05:00
Jonathan Davila
13c379dcd0
Added more info to the no action detected error
...
Error fix
2016-02-08 16:57:54 -05:00
Alexey Shabalin
9196a72c3f
Add support ssh configs from /etc/openssh.
...
In Altlinux system config dir for openssh is /etc/openssh.
2016-02-08 10:32:46 -05:00
James Cammarata
0b4a259444
Also chmod the args file path when using become for old-style modules
...
Fixes #14348
2016-02-08 10:02:34 -05:00
Felix Fontein
5353b8c3b6
Allowing multiple tags to be specified in include's tags argument.
2016-02-08 08:52:55 -05:00
Toshio Kuratomi
6869ced587
Update core submodule ref to fix apt locale bug
2016-02-07 14:27:48 -08:00
Toshio Kuratomi
87414e4fd1
Add locale fixes to changelgo
2016-02-07 13:11:32 -08:00
Toshio Kuratomi
ef9c27e280
Update submodule refs
2016-02-07 12:56:57 -08:00
Toshio Kuratomi
76ab1d2afc
Allow setting run_command environment overrides for the life of an AnsibleModule
2016-02-07 12:55:58 -08:00
Brian Coca
a316891968
tag the setup task with always
...
fixes #14228
2016-02-05 10:35:31 -05:00
Toshio Kuratomi
3303f25a0c
Fix --diff to respect no_log task parameter.
2016-02-04 12:47:44 -08:00
Toshio Kuratomi
bee699a33a
Update submodule refs
2016-02-04 11:12:10 -08:00
Dag Wieers
4133cf924a
Also add 'null' as a possible JSON value
2016-02-04 11:39:20 -05:00
Dag Wieers
53559433ef
Defined JSON booleans in global context for python eval()
...
We define 'false' and 'true' as variables so that python eval() recognizes them as False and True.
This fixes #14291 .
2016-02-04 11:39:20 -05:00
James Cammarata
8ca8459af5
Merge pull request #14214 from dvarrazzo/conflicting-actions-message
...
Better "conflicting action statements" message
2016-02-03 22:55:35 -05:00
Dag Wieers
6c559e904a
Handle when the lookup-plugin is used in jinja-style
...
This fixes #14190 .
2016-02-03 11:18:51 -05:00
Brian Coca
901beeec55
avoid logging color codes
2016-02-03 11:00:08 -05:00
Toshio Kuratomi
4604deca92
Change $() into backticks. Backticks should work for both POSIX and non-POSIX compatible shells.
...
Fixes #14176
2016-02-02 12:39:55 -08:00
Toshio Kuratomi
d001c73699
Establish sh as the default shell plugin.
...
This is a fix for one of the problems pointed out in #14176
2016-02-02 12:19:43 -08:00
Brian Coca
53cfde5096
better fix for ansible-pull inventory handling
...
now it mirrors what it did in previous versions
and properly uses inventory and limit options
2016-02-02 14:29:47 -05:00
Toshio Kuratomi
6c9d2cc2b4
Note the dnf fix
2016-02-02 10:51:41 -08:00
Toshio Kuratomi
4de1e26d5c
Update submodule refs
2016-02-02 10:49:20 -08:00
Brian Coca
8ac8f4c2ab
make executable setting connection dependant
...
winrm shoudl not use executable, rest should?
fixes #14233
2016-02-02 10:22:09 -08:00
Brian Coca
5035e53e80
Revert "load now does not modify the incomming data"
...
This reverts commit 2126e9fee1
.
we judge this to be too big a change for stable, keeping in devel
we may still add part or all back to stable in the future.
2016-02-02 11:22:41 -05:00
Brian Coca
2126e9fee1
load now does not modify the incomming data
...
also removed json loader as yaml loader can do both
2016-02-02 11:22:26 -05:00
James Cammarata
93cab88663
Don't mark host as having gathered facts when peeking at next task
...
Fixes #14243
2016-02-02 11:12:28 -05:00
James Cammarata
c5f857ec39
Make sure setup tasks inherit properly from their parent play
...
Fixes #13602
2016-02-02 11:12:24 -05:00
Brian Coca
07dd83bc6e
deprecate all bare variable conversions (not debug)
...
now deprecation message appears with variable name in all spots where this occurs
debug's var= option is excluded as this is only place where bare variables shold actually
be accepted.
2016-02-02 00:01:47 -05:00
Brian Coca
acb556b3d4
fix incorrect environment processing
...
it was assumed it could only be a dict or string (it starts out as a list)
also a 2nd assumption that bare vars only would appear in one of the dict keys.
removed deprecation warnings from here as they should be signaled in the bare conversion itself.
2016-02-02 00:01:36 -05:00
Brian Coca
48b20684f2
normalize error message on src != dir when local
...
now action plugin returns same error as module
2016-02-01 13:44:01 -05:00