James Cammarata
9e364c2eb5
Don't modify results in callbacks
...
Fixes #12654
2015-10-06 21:43:43 -04:00
James Cammarata
8107c4efc7
Fixing a bug in galaxy parsing of text spec file lines
2015-10-06 21:25:28 -04:00
James Cammarata
7a815b7296
Force connection to local when localhost is delegated to
2015-10-06 20:37:57 -04:00
Toshio Kuratomi
97e8d25eb4
Fix for encoding errors when a command returns non-utf8 encoded values
2015-10-06 14:10:25 -07:00
Toshio Kuratomi
4f6f2c21e8
range vs xrange doesn't matter here and six.moves.range isn't available in six-1.3.0 (rhel7)
2015-10-06 12:19:03 -07:00
James Cammarata
5ae74f7d38
Version bump for 2.0.0-0.3.beta1
2015-10-06 08:19:20 -04:00
James Cammarata
d9b79b1bbc
Also template the role name when loading roles
...
Fixes #12602
2015-10-06 03:33:08 -04:00
Marius Gedminas
3e0fbad4bb
We need Python.h to build pycrypto on 3.5
2015-10-06 09:28:16 +03:00
Marius Gedminas
6fec8fef6c
For some reason Python 3.5 wasn't preinstalled on Travis
2015-10-06 09:23:49 +03:00
James Cammarata
9c9897805f
More ansible-galaxy fixes for the old spec file format
2015-10-06 01:54:48 -04:00
James Cammarata
fb822a4305
Merge pull request #12637 from rcleere/rekey_fix
...
Fix ansible-vault rekey
2015-10-05 23:33:32 -04:00
James Cammarata
3b8eaf6128
Cleaning up some ansible-galaxy stuff
2015-10-05 22:59:08 -04:00
Ryan Cleere
0400ab8c0f
Fix ansible-vault rekey
2015-10-05 16:41:34 -05:00
James Cammarata
d91b3c6b9d
Make sure magic variables are available when templating vars_files
...
Also does some reorganization/cleanup on the magic vars/delegated
variable generation portions of VariableManager to make the above
possible.
Fixes #12633
2015-10-05 16:32:58 -04:00
James Cammarata
284bd118a0
Properly switch to the default transport when delegating from localhost
2015-10-05 16:32:58 -04:00
James Cammarata
97c2b2ecc5
Merge pull request #12636 from bcoca/galaxy
...
Galaxy
2015-10-05 15:35:30 -04:00
Brian Coca
6f88f79de9
removed dupe install code, now trap errors forom role.install
2015-10-05 13:04:12 -04:00
Brian Coca
f73329401b
galaxy updates
...
better error reporting on fetching errors
use scm if it exists over src
unified functions in requirements
simplified logic
added verbose to tests
cleanup code refs, unused options and dead code
moved get_opt to base class
fixes #11920
fixes #12612
fixes #10454
2015-10-05 11:43:08 -04:00
Brian Coca
a3ed9fc131
updated to 'fixed' get_url so docs build again
2015-10-05 09:07:54 -04:00
Brian Coca
130ba70598
added missing blank line for markup separation
2015-10-05 09:05:59 -04:00
Brian Coca
f3d0468726
updated submodule refs
2015-10-05 08:59:10 -04:00
Brian Coca
da458bbfd6
added way to display inventory vars for host to faq + some minor fixes/edits
2015-10-05 08:57:43 -04:00
James Cammarata
323012be2e
Pop tags out of playbook include params
...
Fixes #12605
2015-10-05 08:41:34 -04:00
Marius Gedminas
f1f3bc9e50
Add Python 3.5 to tox.ini
2015-10-04 10:59:19 +03:00
Marius Gedminas
e9b114a39b
Simplify tox.ini
...
Use the factor-conditional settings feature of tox >= 1.8 to reduce
duplication:
https://tox.readthedocs.org/en/latest/config.html#factors-and-factor-conditional-settings
2015-10-04 10:57:49 +03:00
Marius Gedminas
3e0330ad3b
Remove redundancies from tox.ini
2015-10-04 10:51:37 +03:00
Toshio Kuratomi
10a4a4e986
Quote any file paths that we have to use with dd to copy.
...
This is because we pass the whole dd command string into the shell
that's running on the contained environment rather than running it
directly from python via subprocess without a shell.
2015-10-03 18:07:27 -07:00
Toshio Kuratomi
b83988d9fb
Port libvirt_lxc connection plugin to v2
2015-10-03 17:42:49 -07:00
Toshio Kuratomi
567deb5ac2
Add explicit substitution of relative paths on the remote host just in case the connection programs do something unexpected.
2015-10-03 17:33:57 -07:00
Brian Coca
8528b20702
fixed usage text
2015-10-03 12:02:51 -04:00
Brian Coca
04a2b221b9
removed conflicting short options
2015-10-03 10:05:23 -04:00
James Cammarata
38528c8ef3
Show more info in the minimal callback for unreachable hosts
...
Fixes #12621
2015-10-03 01:41:57 -04:00
Toshio Kuratomi
613e87db6c
FIx typo arg_path (not plural)
2015-10-02 19:55:32 -07:00
Brian Coca
5680a9fa32
removed redundant tests, adjusted makefile expected count
2015-10-02 22:37:19 -04:00
Brian Coca
4ba5ebd1c8
Merge pull request #12538 from yesbox/url_lookup_plugin_httperror_fix
...
Fix url lookup plugin HTTPError message not being reachable
2015-10-02 21:30:16 -04:00
jamarzka
bdd3ae9d61
Set the default use_private_network setting to False
2015-10-02 19:18:37 -04:00
jamarzka
eddfc649de
Added an option to use the private network IP address
...
This option defaults to disabled and can be set from the digital_ocean.ini file.
2015-10-02 19:16:44 -04:00
Peter Sprygada
ab3239ecd7
added methods for retrieving vapp and vm
2015-10-02 18:01:35 -04:00
Toshio Kuratomi
a1f6de8745
Merge pull request #12593 from ansible/py3-unicode-exec
...
Since Connection.execute_command() returns bytes, deal with the repurcussions
2015-10-02 12:43:26 -07:00
Toshio Kuratomi
10750214ea
Since Connection.execute_command() returns bytes, deal with the repurcussions here.
2015-10-02 12:39:36 -07:00
Brian Coca
e2ae3215f6
corrected no_log for items and skipped tasks
...
corrected output from default callback
added new tests for no_log loops
updated makefile test to check for both positive and negative occurrences of no_log
2015-10-02 14:35:33 -04:00
James Cammarata
86ef20c73b
Merge branch 'amenonsen-ssh-args' into devel
2015-10-02 13:38:47 -04:00
James Cammarata
c28758d2a8
Merge branch 'ssh-args' of https://github.com/amenonsen/ansible into amenonsen-ssh-args
2015-10-02 13:38:00 -04:00
James Cammarata
82faba619e
Also add args_path param to powershell shell plugin
2015-10-02 13:25:26 -04:00
James Cammarata
30d481ac57
Fix old-style (non-python) module support
2015-10-02 12:58:35 -04:00
Toshio Kuratomi
e40e08d799
Update core sumodule ref to fix docs
2015-10-02 09:22:43 -07:00
Abhijit Menon-Sen
ba98c70bea
Mention new ssh argument variable in the changelog
2015-10-02 21:52:12 +05:30
Abhijit Menon-Sen
b127221f50
Pass default None to getattr, remove repeated call
2015-10-02 21:26:25 +05:30
Abhijit Menon-Sen
478e234bc3
Reword the jump host section in the FAQ
...
It's just s/extra_args/common_args/, but I reworded some parts to make
things a bit clearer too.
Closes #12335
2015-10-02 21:26:25 +05:30
Abhijit Menon-Sen
96c4dc273a
Set explicit default for ANSIBLE_SSH_ARGS
...
The earlier code behaved exactly as though this default had been set,
but it was actually handled as a(n unnecessary) special case inside the
connection plugin, rather than set as an explicit default.
If the default is overriden either in ansible.cfg or the environment,
the new code will continue to work (in fact, it won't know or care,
since it just uses the value set in the PlayContext).
This is submitted as a separate commit for easier review to address
backwards-compatibility concerns.
2015-10-02 21:26:25 +05:30