Commit graph

13765 commits

Author SHA1 Message Date
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
Toshio Kuratomi
8e2c5337f5 Merge pull request #13808 from chouseknecht/chouse
Added --ignore-certs option to ansible-galaxy init, install and info …
2016-01-20 10:00:07 -08:00
chouseknecht
bb993f3aea Fix typo. 2016-01-20 12:55:35 -05:00
chouseknecht
007d05c4a1 Added note to 1.9.5 changelog regarding --ignore-certs, c option being added to allow work-around when behind a proxy server. 2016-01-20 12:50:58 -05:00
Darragh Bailey
1200a70879 Fix race in daemon initialize using delegate_to
Ensure only one thread can start up an accelerate daemon on a target
host where multiple hosts may be specified in the play, gather facts is
disabled and the first task delegates to the same target host.

This will slow down the initial connection to only allowing a single
thread setup a connection at a time, however this should be of a
negligible impact overall.
2016-01-19 12:44:23 +00:00
Darragh Bailey
3d4dc206a1 Prevent race in key setup for accelerate daemon
Ensure that initial setup in creating the key directory for ansible
accelerate mode keys, and generation/storage of the key for a
particular host are completed in a thread safe manner.

Creating directories/files and then assigning permissions and contents
to them means that paths may exist and satisfy the os.path.exists()
method in python for other threads before they are usuable.

Use a combination of locking around operations with use of unique named
files and an OS file system move to ensure that the conditions of
checking whether a file or directory exists, where it is potentially
created by another thread, will only succeed when the file has both the
correct contents and permissions.

Fixes #13850
2016-01-19 11:59:43 +00:00
chouseknecht
f2a32566d5 Added --ignore-certs option to ansible-galaxy init, install and info commands. 2016-01-11 18:15:24 -05:00
Tim Jones
1254b4391b Correctly parse dependency YAML dict 2016-01-11 16:50:38 +01:00
Marius van den Beek
cfd509d32e Set executable to None, fixes issue #13696 2015-12-30 14:32:10 +01:00
Brian Coca
b24daecd6e minor fix to become docs 2015-12-28 10:26:22 -05:00
Stephen Medina
7a91b05e84 clarify idempotence explanation
Small typo; wasn't sure what to replace it with.
2015-12-28 10:25:09 -05:00
Brian Coca
6e9f622856 updated release cycle to 4 months instead of 2 2015-12-27 14:17:20 -05:00
Branko Majic
9a856b04ea Adding documentation for the 'dig' lookup (#13126). 2015-12-21 13:49:56 -05:00
Brian Coca
ad47725713 allow for packaging to be in release tarball 2015-12-17 12:40:52 -05:00
Vytis Valentinavičius
e856ac2320 Added workaround for inventory directories 2015-12-15 15:50:58 +02: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
85528e76b4 Note the fix to literal_eval in the changelog 2015-11-30 12:41:42 -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
309996504f actually writes info now
- also minor updates to error messages to be more informative
2015-11-22 08:39:02 -08:00
Brian Coca
2d914d4b1e Merge pull request #13171 from kwaaioak/stable-1.9-10914
backport fix for ignoring errors produced by non posix file systems
2015-11-14 10:14:08 -08:00
Brian Coca
08395047af fixed success to also not include skipped, backport from 2.0 2015-11-14 14:41:06 -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
James Cammarata
ce77d2fa76 Merge pull request #13149 from unprofession-al/backport_fix_jsonfile_fact_caching_connection
Backport of the jsonfile cache fix for filepath substitution
2015-11-13 08:45:17 -05: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
c1d9649c13 Note plugin loader fix in changelog 2015-11-03 07:41:18 -08:00
Toshio Kuratomi
baa16b6fdf list => tuple 2015-11-03 07:41:02 -08:00
Toshio Kuratomi
d8a6659d73 Merge pull request #13015 from j0057/fix-powershell-shebang-not-found
Make sure potential_names is not dependent on hashing order
2015-11-03 07:36:56 -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
8b5588f98a Note the script and raw yaml dict fix 2015-10-27 12:24:14 -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
027dd6e67b Note the second fix to yum module (state=latest and name is a wildcard) 2015-10-08 09:59:09 -07: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
James Cammarata
a07ca04a75 Merge pull request #12571 from w1r0x/feat-git-ansible-pull-options
Fixes #12309
2015-10-01 10:46:45 -04:00
w1r0x
bf2d1832aa Fixes #12309 2015-09-30 15:23:48 +03:00