Commit graph

12711 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
Brian Coca
7bd2c945a7 now doc generation does not ignore subdirs of cloud 2014-11-03 08:15:26 -05:00
Brian Coca
80b1365d53 now correctly processes modules when in subdirs of cloud 2014-11-01 23:19:25 -04: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
Brian Coca
7a5e7db2df ansible doc now finds modules recursively
more intelligent about ignoring files that are clearly not modules
2014-11-01 01:17:42 -04:00
Brian Coca
f6d9aa7a8f corrected text/flag 2014-10-31 16:05:22 -04:00
Brian Coca
023f5fd7e0 Added note explaning the module tagging 2014-10-31 15:06:00 -04:00
Brian Coca
44f0279d0a Now adds flags for non core and deprecated modules in listing 2014-10-31 14:20:26 -04:00
Brian Coca
86de59235f bypass core/extras text when module is deprecated 2014-10-31 14:18:18 -04: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
Brian Coca
0317e7b910 avoid modifying module var by just passing the substring to the append 2014-10-30 13:53:05 -04:00
Brian Coca
94a732fb1a fixed typo in comments 2014-10-30 13:50:34 -04: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
Brian Coca
0fb0548d0b removed no unused var that was not cleaned up properlly 2014-10-30 13:40:34 -04:00
Brian Coca
8b5b97d066 now docs handle deprecated modules but still ignore aliases 2014-10-30 13:29:54 -04:00
Brian Coca
27d741102c Created Deprecated module category that only appears when there is
something to show
2014-10-30 11:26:43 -04:00
Brian Coca
e41bcc41d3 removed 'column display' options as there is no code handling this
function
2014-10-30 08:56:41 -04:00
Brian Coca
1b70ef6cba Several changes to ansible-doc
added display of deprecated to ansible-doc
now it does better job of using tty columns
fixed indication truncation of desc with trailing ...
removed extension from module list, also fixed matching exlusion
blacklist
2014-10-29 22:33:31 -04:00
Eric Johnson
a2498bdadd Google: allow for different libcloud provider to support upcoming DNS module 2014-10-29 19:57:46 +00:00
James Cammarata
fe0ab8e750 Merge pull request #9408 from aklamio/devel
Update playbooks_variables.rst
2014-10-29 13:38:35 -05:00
Brian Coca
cc12c9b226 fixed typo 2014-10-29 10:32:17 -04: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
Brian Coca
617b6323e2 added info about new deprecated/alias plugin loading 2014-10-28 08:43:18 -07:00
Brian Coca
5ab4467708 module formatter skips modules with leading underscore to avoid
documenting them. Soon will be patched to recognize them as either
deprecated or an alias
2014-10-28 08:36:31 -07: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
Brian Coca
b3b356480d added the ability to keep aliased and deprecated modules prefixed with
'_', they will be loaded after non prefixed modules are checked they can
be full modules or symlinks to existing ones (alias)

also updated ansible doc to ignore these, will eventually add selective
display
2014-10-27 15:54:41 -07: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