Commit graph

3886 commits

Author SHA1 Message Date
Brian Coca
f48fef67bf Merge pull request #14253 from dagwieers/allow-key-auth-when-ask-pass
Allow key authentication when using `--ask-pass` (just like Ansible v2)
2016-02-11 01:45:13 -05:00
Brian Coca
051f4e5d3e Merge pull request #13697 from mvdbeek/stable-1.9
Set executable to None, fixes issue #13696
2016-02-11 01:43:10 -05:00
Toshio Kuratomi
504c0e6201 Fix hiding of original value of files in diff output with no_log 2016-02-09 17:43:01 -08:00
Toshio Kuratomi
95b1f8b49b Update submodule refs to pick up apt locale fix 2016-02-07 14:29:29 -08:00
Toshio Kuratomi
cbcfa2df5e Update submodule ref for git locale fix 2016-02-07 13:10:36 -08:00
Toshio Kuratomi
43fdc6aee3 Allow setting run_command environment overrides for the life of an AnsibleModule 2016-02-07 13:07:28 -08:00
Toshio Kuratomi
f1033f2194 rework run_command's env setting to not change os.environ for the rest of the module.
New param to run_command to modify the environment for just this invocation.
Documentation and comment adjustments.
2016-02-07 13:05:16 -08:00
Toshio Kuratomi
3d7efff30c Update submodule refs 2016-02-05 10:33:56 -08:00
Toshio Kuratomi
42064446c4 Merge pull request #14339 from ansible/diff-no_log-fix
Fix --diff to respect no_log task parameter.
2016-02-05 09:39:04 -08:00
Toshio Kuratomi
0bcbcb20b0 Fix --diff to respect no_log task parameter. 2016-02-05 08:59:50 -08:00
Dag Wieers
b6e6c52b12 Defined JSON booleans in global context for python eval()
We define 'false', 'true' and 'null' as variables so that python eval() recognizes them as False, True and None.

This is a backport of a fix from 2.0.0.2 which also affects 1.9.4 (See issue #14291 and PR #14293)

This fixes #14291 for 1.9.4.
2016-02-05 17:24:48 +01:00
Toshio Kuratomi
ab0904d051 Merge pull request #14305 from dagwieers/patch-7
Double import sys, removed one
2016-02-04 07:02:19 -08:00
Dag Wieers
63b49a0025 Double import tempfile, remove one
tempfile was imported twice.
2016-02-04 14:16:18 +01:00
Dag Wieers
982bd28b34 Double import sys, removed one
sys was imported twice.
2016-02-04 14:11:29 +01:00
Dag Wieers
009164227e Allow key authentication when using --ask-pass (similar to Ansible v2)
This closes #14250.

It should not have any ill-effects for existing use-cases as we would only allow additional authentication methods on top of password authentication. And since the user can authenticate in other ways already, it also has no security impact.
2016-02-02 10:05:08 +01:00
Marius van den Beek
cfd509d32e Set executable to None, fixes issue #13696 2015-12-30 14:32:10 +01:00
nitzmahone
54d4225e23 backport ansible_winrm_* kwarg support
fixes #13508
2015-12-14 17:08:56 -08:00
Brian Coca
64148a84ca Merge pull request #13454 from qduxiaoliang/issue
quit plays with an error if there were failed tasks and handler execu…
2015-12-13 00:18:30 -05:00
Toshio Kuratomi
13a6f03082 Update core submodule ref 2015-12-10 08:09:51 -08:00
Leon Xie
0da8c8bdd5 quit plays with an error if there were failed tasks and handler execution is forced 2015-12-07 16:48:11 +08:00
Brian Coca
ab18fd2171 added , back to inventory spliting 2015-12-05 01:07:12 -05:00
Toshio Kuratomi
5eeb4ef2b6 Update submodule refs 2015-12-04 10:02:27 -08:00
Toshio Kuratomi
f59bd76972 Call the function :-)
Fixes #13330

Conflicts:
	lib/ansible/module_utils/basic.py
2015-11-30 12:40:15 -08:00
Brian Coca
09dde923d2 added missing : 2015-11-14 09:16:06 -08:00
Brian Coca
8698cf29a8 hack to prevent tempalte/copy errors on vagrant synced folders that report incorrectly errno 26
fixes #9526
2015-11-14 09:15:41 -08:00
Brian Coca
08395047af fixed success to also not include skipped, backport from 2.0 2015-11-14 14:41:06 -08:00
Daniel Menet
6e04cae21c substitute tilde and env vars before storing C.CACHE_PLUGIN_CONNECTION as instance attribute 2015-11-13 09:56:01 +01:00
Toshio Kuratomi
baa16b6fdf list => tuple 2015-11-03 07:41:02 -08:00
Joost Molenaar
7c674fc19c Make sure potential_names is not dependent on hashing order 2015-11-03 15:17:35 +01:00
Toshio Kuratomi
62be954577 Second part of the script not honoring complex-args fix
I could have sworn I already committed this but it's not there so
recreating it.
2015-10-27 22:11:04 -07:00
Toshio Kuratomi
f8cac24cb2 Use complex_args as well as k=v args in script and raw 2015-10-27 10:16:57 -07:00
Toshio Kuratomi
e8cc63aba5 Add fix for ini_file module and empty string 2015-10-26 13:08:34 -07:00
Brian Coca
8b644af1d8 Merge pull request #11638 from bcoca/fix_delegate_to_badtype
capture error when smoeone puts a list or some other complex type in
2015-10-26 13:23:58 -04:00
Toshio Kuratomi
4472889632 Use to_bytes instead of encode() to avoid traceback 2015-10-21 07:58:54 -07:00
Toshio Kuratomi
bfe743c38a Fix leftover debugging statement 2015-10-19 10:22:02 -07:00
Toshio Kuratomi
aa35154bc5 Fix uri module not handling all binary files
Fixes #2088
2015-10-19 10:17:29 -07:00
Toshio Kuratomi
e3d7c470f9 Fix crypttab bug 2015-10-14 07:50:44 -07:00
Toshio Kuratomi
fffdf5fb46 docker module fix 2015-10-14 07:34:49 -07:00
James Cammarata
5af1cda7c9 Version bump for release 1.9.4-1 2015-10-09 15:45:58 -04:00
Toshio Kuratomi
d388bd97cc Update submodule refs 2015-10-08 09:58:27 -07:00
James Cammarata
e40f0fd66a Version bump for release candidate 1.9.4 rc3 2015-10-02 10:42:33 -04:00
Chris Church
e62ca77aeb Enable winrm put_file to upload an empty file. 2015-09-29 19:52:49 -04:00
Toshio Kuratomi
7fbaf3aa4a Fixes #12488 2015-09-23 14:13:46 -07:00
Daniel Donckers
57389d55b1 Removing unnecessary import 2015-09-16 10:31:54 -06:00
Daniel Donckers
ed5ac932a5 Backport fix for properly use local variables from templates including other templates to 1.9
Fixes #6653
2015-09-15 07:54:55 -06:00
James Cammarata
d2d3162a8b Also updating submodules for stable-1.9 branch 2015-09-11 18:15:20 -04:00
James Cammarata
35686027d5 Revert "Fix order of loading of modules."
This reverts commit c0f416b510.
2015-09-11 18:12:54 -04:00
Toshio Kuratomi
c0f416b510 Fix order of loading of modules.
Allows ANSIBLE_LIBRARY to overload core modules even if the module in
ANSIBLE_LIBRARY doesn't have a .py extension.

Equivalent of devel commit: 4b895f04e3
2015-09-09 15:03:49 -07:00
Brian Coca
d3dca5606c corrected private default when vars_prompt is dict 2015-09-09 15:38:32 -04:00
James Cammarata
e5d6d1be44 Version bump for new release candidate 1.9.4-rc1 2015-09-04 17:07:35 -04:00