Commit graph

12484 commits

Author SHA1 Message Date
James Cammarata
9ae0fb5bdf Make OSX fallback to paramiko more selective
Only fallback to paramiko now when the ssh password has been set,
either through inventory or via a prompt.

Fixes #9470
2014-11-03 14:32:15 -06:00
James Cammarata
11822f0d57 Adding VariableManager class for v2 2014-11-03 13:51:18 -06:00
James Cammarata
e1662422bf Merge pull request #9467 from lorin/accel-docs
Docs: accelerate mode -> accelerated mode
2014-11-03 11:49:34 -06:00
James Cammarata
4168a3e858 Merge pull request #9462 from tkinz27/paramiko_keepalive
Setting keepalive option before opening session
2014-11-03 11:41:08 -06:00
James Cammarata
9c619863a2 Merge pull request #9449 from jure/certificate_validation_fix
Add the default Homebrew path for OpenSSL certs on OS X
2014-11-03 11:34:16 -06:00
James Cammarata
6dbc45042b Merge pull request #9436 from bobobox/patch-2
vars_files haven't been discussed yet
2014-11-03 11:20:40 -06:00
Lorin Hochstein
684cdd0298 Docs: accelerate mode -> accelerated mode
The docs sometimes referred to "accelerated mode" as "accelerate mode".
This patch changes it to "accelerated mode" everywhere.
2014-11-01 19:31:04 -04:00
akinsley
3e992b5824 Setting keepalive option before opening session
Setting the keepalive option before opening up the paramiko session
in order to avoid the slim chance that the connection is stalled
in the short time between opening the session and setting up the
keepalive. I described the issue I am solving at
https://groups.google.com/forum/#!topic/ansible-project/rkwvz3vyvLk
2014-11-01 00:51:52 -07:00
James Cammarata
7cd5b13e34 Make sure v2 playbook classes validate attributes
Also removing cruft code from earlier iteration on task.py and fixing
a bug where 'shell' was not removed from the task ds after munge()
cleaned things up
2014-10-30 16:04:34 -05:00
James Cammarata
3b0e64127d Refactoring role spec stuff into a dedicated parsing class
Also reworking tests to cut down on the number of patches required
by sub-classing the DataLoader() class and reworking the base object's
structure a bit to allow its use
2014-10-30 12:42:06 -05:00
James Cammarata
bd203a44be Adding more unittests for the v2 role class 2014-10-30 12:42:06 -05:00
James Cammarata
fe0ab8e750 Merge pull request #9408 from aklamio/devel
Update playbooks_variables.rst
2014-10-29 13:38:35 -05:00
Jure Triglav
2f869a6309 Add the default Homebrew path for OpenSSL certs on OS X 2014-10-29 14:16:01 +01:00
Toshio Kuratomi
cd9ea13716 Merge pull request #9444 from praveenkumar/devel
As per yum module documents it state only support 'present, absent and latest'
2014-10-29 03:01:21 -04:00
Praveen Kumar
54ba31aeef As per yum module documents it support 'present, absent and latest'
Current intro doc is pointing older way of using yum module.
2014-10-29 10:29:46 +05:30
Toshio Kuratomi
7055505227 Add python3 compat header 2014-10-28 20:44:21 -04:00
Toshio Kuratomi
e7ee9ddc0a Add the python3 compat header 2014-10-28 20:41:51 -04:00
Toshio Kuratomi
e99dc5a57c Add copyright and py3 compat header 2014-10-28 20:40:39 -04:00
Toshio Kuratomi
67ff4428d5 Fix up all python3 issues that do not have to do with text/bytes 2014-10-28 20:27:14 -04:00
Toshio Kuratomi
050d17295d Remove test case that wasn't reported as something git should do 2014-10-28 19:09:32 -04:00
Toshio Kuratomi
82e8d677d9 Test the git changes for the git module's recursive flag 2014-10-28 17:58:25 -04:00
Toshio Kuratomi
cb53b0f94a Add branch info for our submodules 2014-10-28 15:55:24 -04:00
Toshio Kuratomi
b502cb8f5d Pull in git submodule tracking 2014-10-28 15:21:08 -04:00
Toshio Kuratomi
145b28045f Add a changelog entry for how the git module has changed. 2014-10-28 15:15:44 -04:00
bobobox
f38f1c5663 vars_files haven't been discussed yet
I think this is a chapter ordering thing... vars_files have not actually be explained yet (aside from a mention of them in the note right above, which also might need reconsidering?) I think they do get introduced in the next section 'Variables'.
2014-10-28 10:15:05 -05:00
Juri Glass
9974ba01e3 added fact caching hint 2014-10-28 11:18:32 +01:00
James Cammarata
58defa5cce Adding role deps to v2 Role class and fixing some bugs 2014-10-28 00:15:02 -05:00
James Cammarata
7ea84d7499 More v2 roles class work
* added ability to set parents (will be used when the deps are loaded)
* added role caching, so roles are not reloaded needlessly (and for
  use in detecting when roles have already been run)
* reworked the way metadata was stored - now individual attribute fields
  instead of a dictionary blob
2014-10-27 13:27:25 -05:00
James Cammarata
547c0d8140 Merge pull request #9216 from nmadhok/patch-3
Update playbooks_roles.rst
2014-10-27 12:03:21 -05:00
James Cammarata
29e95d86fb Merge pull request #9425 from bobobox/patch-1
Typo fix in playbooks_intro.rst
2014-10-27 09:58:05 -05:00
James Cammarata
77f91eb031 Merge pull request #9422 from tonk/docfix
Ignore compiled Python for documentation.
2014-10-27 09:45:26 -05:00
James Cammarata
1ece7e99e5 Merge pull request #9410 from dannyroberts/patch-1
Update developing_modules.rst
2014-10-27 09:26:02 -05:00
James Cammarata
b896633866 Merge pull request #9402 from mscherer/fix_man_ansible_pull
Fix the synopsis in ansible-pull man page.
2014-10-27 09:20:59 -05:00
bobobox
66f700eb0d Update playbooks_intro.rst
Small punctuation/grammar fix.
2014-10-26 14:44:04 -05:00
Ton Kersten
39bbe36fc7 Ignore compiled Python for documentation.
When running `ansible-doc --list` a lot of errors are
generated when `ansible-doc` tries to find documentation
strings in `.pyc` files.
2014-10-26 15:46:08 +01:00
James Cammarata
44afa7facc Updating Role class for new DataLoader stuff 2014-10-25 23:42:35 -05:00
James Cammarata
7cb489eca3 Adding a data parsing class for v2 2014-10-24 14:06:43 -05:00
Daniel Roberts
2ef2f12472 Update developing_modules.rst 2014-10-23 16:39:09 -04:00
Juri Glass
c16c527923 Update playbooks_variables.rst
There is some kind of duplicated content with http://docs.ansible.com/faq.html#how-do-i-loop-over-a-list-of-hosts-in-a-group-inside-of-a-template and this gotcha isn't listed here.
2014-10-23 16:42:10 +02:00
Toshio Kuratomi
c86851be2c Quote ControlPath ssh parameter
Fixes #9316
2014-10-22 18:45:02 -04:00
Toshio Kuratomi
34129a223d update core submodules for systemd service fix 2014-10-22 16:46:50 -04:00
Toshio Kuratomi
56c268ade4 New test that newlines in systemd service scripts don't cause problems 2014-10-22 16:38:01 -04:00
James Cammarata
76a43d4b38 Updating submodule pointer for core modules 2014-10-22 14:40:56 -05:00
Michael Scherer
9c10a11aea Fix the synopsis in ansible-pull man page. 2014-10-22 15:40:41 -04:00
Michael DeHaan
3c88f99d13 Add AnsibleFest London link. 2014-10-22 14:19:17 -04:00
James Cammarata
9ee3cd14ee Fix typo in vault edit helper code
Fixes #9399
2014-10-22 11:08:01 -05:00
James Cammarata
b4f9631e4c Revert "remove complex_args_hack as it was only needed for Baby JSON"
This reverts commit a6029264b8.

Fixes #9400
2014-10-22 11:00:24 -05:00
James Cammarata
be972225a5 Removing unnecessary import from v2 parsing init 2014-10-22 11:00:24 -05:00
James Cammarata
4c47c2273a Use convert_bare instead of string formatting for raw vars in debug action plugin 2014-10-22 11:00:24 -05:00
James Cammarata
707474a43a Merge pull request #9394 from ronalexander/patch-1
Update intro_installation.rst
2014-10-22 00:48:21 -05:00