Commit graph

17306 commits

Author SHA1 Message Date
Peter Sprygada
ac7dc6bd81 the ssh shared module will try to use keys if the password is not supplied
The current ssh shared module forces only password based authentication.  This
change will allow the ssh module to use keys if a password is not provided.
2015-12-15 08:39:17 -05:00
Michael Scherer
b6dac26224 Make module_utils.known_hosts.get_fqdn work on ipv6 2015-12-14 11:10:02 -08:00
Michael Scherer
a7a3a34987 Add tests for ansible.module_utils.known_hosts 2015-12-14 11:09:49 -08:00
Toshio Kuratomi
6df187da84 Fix for template module not creating a file that was not present when force=false 2015-12-14 10:57:34 -08:00
Monty Taylor
cf95619229 Optionally only use UUIDs for openstack hosts on duplicates
The OpenStack inventory lists hostnames as the UUIDs because hostsnames
are not guarnateed to be unique on OpenStack. However, for the common
case, this is just confusing.

The new behavior is a visible change, so make it an opt-in via config.

Only turn the hostnames to UUIDs if there are duplicate hostnames.
2015-12-14 13:27:33 -05:00
Monty Taylor
17a37844d4 Fix the refresh flag in openstack inventory
Refresh will update the dogpile cache from shade, but doesn't cause
the ansible side json cache to be invalidated. It's a simple oversight.
2015-12-14 13:27:33 -05:00
gp
0697c6e59d Fix typo in galaxy.rst
Fix typo
2015-12-14 09:15:15 -08:00
Toshio Kuratomi
66be9d06c4 Minor: Correct type pyhton => python 2015-12-14 08:51:33 -08:00
Toshio Kuratomi
62b2c9eb4e Update submodule refs 2015-12-14 08:34:49 -08:00
Jonathan Mainguy
887319f95c add tests for encrypted hash mysql_user 2015-12-14 08:02:11 -08:00
James Cammarata
fc233bf3f4 Use an octal representation that works from 2.4->3+ for known_hosts 2015-12-14 10:44:22 -05:00
James Cammarata
8dcba63022 Fixing up some non-py3 things for unit tests 2015-12-14 10:44:22 -05:00
Hans-Joachim Kliemeck
60f5fe76a1 use default settings from ansible.cfg 2015-12-14 09:19:15 -05:00
James Cammarata
0b66ec0ddd Cleanup strategy tests broken by new forking strategy 2015-12-14 03:07:51 -05:00
James Cammarata
e7bf204db4 A few tweaks to improve new forking code 2015-12-14 03:07:48 -05:00
James Cammarata
c8e6461dee Changing the way workers are forked 2015-12-14 01:16:55 -05:00
Brian Coca
3214ef8832 added that ansible-pull is now shallow to changelog 2015-12-13 12:18:28 -05:00
Robin Roth
6a5444c2fe add --full flag to ansible-pull man page
add --full flag that was added in #13502
2015-12-13 12:17:36 -05:00
Usman Ehtesham Gul
d4e06695fd Fix Doc mistake
Fix Doc mistake in ansible/docsite/rst/playbooks_variables.rst
2015-12-13 09:50:45 -05:00
Robin Roth
d369e3ec72 fix whitespace 2015-12-13 09:37:48 -05:00
Robin Roth
bff8db3c8f make shallow clone the default for ansibel-pull 2015-12-13 09:37:48 -05:00
Robin Roth
8c6010cc86 add depth option to ansible-pull
Allows shallow checkouts in ansible-pull by adding `--depth 1` (or higher number)
2015-12-13 09:37:48 -05:00
Brian Coca
13ffd3ee2d include all packaging in tarball
not juse rpm spec file
2015-12-13 00:34:56 -05:00
Brian Coca
f9bff8e488 simplified skippy
thanks agaffney!
2015-12-12 17:51:25 -05:00
Brian Coca
6d83bf8ca9 changed shell delimiters for csh
fixes #13459
2015-12-12 16:13:20 -05:00
Brian Coca
17f06dd310 removed unused imports in galaxy/cli 2015-12-12 13:43:46 -05:00
Jan Warchoł
82f893d65a Explain how 'run_once' interacts with 'serial' 2015-12-12 00:33:21 -05:00
Brian Coca
40b55eda4c avoid set to unique hosts to preserver order
swiched to using a list comp and set to still unique but keep expected order
fixes #13522
2015-12-11 15:40:48 -05:00
Brian Coca
7678ab05d8 removed merge conflict 2015-12-11 15:10:48 -05:00
James Cammarata
5b801afa38 Don't mark hosts failed if they've moved to a rescue portion of a block
Fixes #13521
2015-12-11 14:58:38 -05:00
Brian Coca
71cc791677 narrow down exception catching in block builds
this was obscuring other errors and should have always been narrow scope
2015-12-11 13:13:19 -05:00
Brian Coca
3d1b3e2bb8 removed 'bare' example in environment
now shows how to use explicit templating
2015-12-11 09:35:19 -05:00
Brian Coca
b0e5556d9a fix make complaint when git is not installed 2015-12-10 21:50:11 -05:00
James Cammarata
75e6fb30d5 Fixing up docker integration tests a bit 2015-12-10 13:10:40 -05:00
Toshio Kuratomi
9b5ec8f359 Update submodule ref 2015-12-10 08:10:13 -08:00
Toshio Kuratomi
2dbcd8fc9e become_pass needs to be bytes when it is passed to ssh.
Fixes #13240
2015-12-10 07:30:20 -08:00
Charles Paul
82789df231 allow custom callbacks with adhoc cli for scripting
missing import of CallbackBase
2015-12-10 07:05:41 -08:00
James Cammarata
3fafc6d655 Missed one place we were appending the incorrectly escaped item to raw params 2015-12-09 17:59:06 -05:00
Toshio Kuratomi
9b864811f8 Note that handlers inside of includes are not possible at the moment 2015-12-09 13:53:04 -08:00
nitzmahone
ba62a8d559 Windows doc updates 2015-12-09 16:36:23 -05:00
Toshio Kuratomi
b793fbc60a Remove the funcd connection plugin 2015-12-09 13:30:37 -08:00
nitzmahone
7e6d546632 added winrm CP notes to changelog 2015-12-09 15:50:37 -05:00
Brian Coca
45d2f59858 changed deprecation to removal warning 2015-12-09 12:39:11 -08:00
Toshio Kuratomi
dd6e10ce43 Update submodule refs 2015-12-09 12:11:30 -08:00
James Cammarata
6694e97a31 Make on_file_diff callback item-aware 2015-12-09 14:52:06 -05:00
Brian Coca
699bb847a0 reenabled --tree for ansible adhoc command
previous fix to avoid callbacks now conflicted with tree optoin
which is implemented as a callback in 2.0
2015-12-09 10:14:43 -08:00
Brian Coca
c02ca22894 adhoc avoids callbacks by default as it did before
Previous emptying of whitelist only affected callbacks that were
constructed for need whitelist. This now works for all callbacks.
2015-12-09 10:03:39 -08:00
Toshio Kuratomi
1f9d66ef60 Clarify language of delegate_facts documentation 2015-12-09 08:46:49 -08:00
Toshio Kuratomi
8f6f2fc920 Code smell test for specifying both required and default in FieldAttributes 2015-12-09 08:46:49 -08:00
Brian Coca
4d7710806e attribute defaults that are containers are a copy
This is simpler way to prevent persistent containers across instances
of classes that use field attributes
2015-12-09 08:42:14 -08:00