Commit graph

3214 commits

Author SHA1 Message Date
Michael DeHaan
cf4bcde220 Merge pull request #1430 from sfromm/issue1425
Document ssh_key options are in version 0.9
2012-10-23 21:01:03 -07:00
Stephen Fromm
5d8c130a7f Document ssh_key options are in version 0.9 2012-10-23 08:21:40 -07:00
Nigel Metheringham
ccd8d7c287 Spelling fixes 2012-10-23 15:54:16 +01:00
Nigel Metheringham
dd5629cd51 Correct $last_result example in playbooks doc 2012-10-23 15:51:11 +01:00
bleader
e16e3fb4ca mount: update example with mandatory option
- 'state' is required, but wasn't in example

Signed-off-by: bleader <bleader@ratonland.org>
2012-10-23 15:49:47 +02:00
Michael DeHaan
f9a2f4687e Merge pull request #1426 from jpmens/docs_examples1
Reformat code: examples consistently
2012-10-23 06:18:47 -07:00
Jan-Piet Mens
feab57e270 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
2012-10-23 15:14:01 +02:00
Michael DeHaan
a4af4a7049 Since we are not needing to pass runner through the multiprocessing queue, just use
multiprocessing.pool.  Pushing so it can get wider testing.
2012-10-23 08:19:15 -04:00
Michael DeHaan
856dd5a9aa Don't pass runner instance through the mulitprocessing queue, fix temp dir removal 2012-10-23 08:04:32 -04:00
Michael DeHaan
51d8e042df update changelog 2012-10-23 07:58:47 -04:00
Michael DeHaan
ce413ab01d Merge pull request #1416 from skvidal/devel
make --limit take a , as a separator as well as ; or :
2012-10-22 18:33:14 -07:00
Seth Vidal
d63fa6f026 make --limit take a , as a separator as well as ; or : 2012-10-22 21:24:25 -04:00
Michael DeHaan
8afa3abd41 Merge pull request #1413 from pas256/devel
Inventory script to gracefully handle AWS being down
2012-10-22 16:42:36 -07:00
Michael DeHaan
ae351b71b6 Merge pull request #1414 from sfromm/issue1412
Help git module work when working in 'no branch' scenario
2012-10-22 16:42:05 -07:00
Stephen Fromm
769bd9125a Help git module work when working in 'no branch' scenario
Detect when on a 'no branch' branch.  If so, checkout the HEAD branch
as reported by 'git remote show <remote>'.  That should put the repo
back on a branch such that git can then merge changes as necessary.
In addition, removed hard-coded references to origin and replaced
with remote var.
2012-10-22 16:03:35 -07:00
Peter Sankauskas
60c69e9845 Allowing the EC2 inventory script to gracefully handle AWS API issues 2012-10-22 14:08:30 -07:00
Michael DeHaan
109632e3bc Revert "Vars specified via CLI have the highest priority."
Reverting as this as reported allows some variables to clobber each other.
We'll work on a different fix.

This reverts commit c5469f6367.
2012-10-21 16:42:15 -04:00
Michael DeHaan
5020af0a45 Merge pull request #1404 from dagwieers/doc-fix1
Clarify how only_if works, also combined with with_items
2012-10-22 04:57:42 -07:00
Dag Wieers
7d990fa167 Clarify how only_if works, also combined with with_items
- The old documentation stated not to quote the variable in the function, which is obviously wrong. When using lists or integers, we have to quote otherwise the startswith() method will trip over its non-existence.
- It was unclear that the only_if statement is processed for each item when doing with_items, so I added an example making it crystal clear how this can be used in your advantage (or why a non-existing list variable can break your logic if you expected the only_if to be processed once before running the task)
2012-10-22 12:30:47 +02:00
Michael DeHaan
52f2ed5fe1 Merge pull request #1399 from dhozac/set-delegate-for-alias
Fix ansible_ssh_host again
2012-10-21 15:25:10 -07:00
Daniel Hokka Zakrisson
1449c8ac67 Fix ansible_ssh_host again
This time with unit tests to ensure it keeps working.
2012-10-21 21:22:56 +02:00
Daniel Hokka Zakrisson
c9c5fc1456 Merge varFind and varLookup 2012-10-21 20:32:02 +02:00
Michael DeHaan
572c66b7f6 Add a bit more info about tests to CONTRIBUTING 2012-10-21 07:15:30 -04:00
Michael DeHaan
3c6d9972fe clarify message about name of configuration parameter 2012-10-21 07:12:06 -04:00
Michael DeHaan
4fd14ac3e7 Merge pull request #1396 from nigelm/nigelm_doc_tweaks
Added some info on the unit tests requirements
2012-10-21 04:04:59 -07:00
Nigel Metheringham
cc30eb74e2 Added some info on the unit tests requirements 2012-10-21 09:41:18 +01:00
Michael DeHaan
dad331d0a5 update changelog 2012-10-20 23:07:49 -04:00
Michael DeHaan
cbc12f0dba Various performance streamlining and making the file features usable in all modules without daisy chaining. 2012-10-20 22:55:09 -04:00
Michael DeHaan
60b9316ad8 Merge pull request #1393 from baalexander/devel
Adds release date for Cathedral
2012-10-20 18:58:03 -07:00
Brandon Alexander
ce7656d9cd Adds release date for Cathedral
I also prepended each single digit month with a 0 for the dates to line up. Feel free to change that :)
2012-10-20 17:21:10 -07:00
Michael DeHaan
4104478abd Added 'script', a module that can push and insantly run a remote script. Replaces the need to copy+command.
This is a bit of a rough draft, some error handling still needs to be added.
2012-10-20 12:12:07 -04:00
Michael DeHaan
7e2d6c0050 Clarify first_available_file is only for copy/template 2012-10-20 11:16:05 -04:00
Michael DeHaan
019f775a93 DWIM the paths for first_available_file 2012-10-20 11:11:31 -04:00
Michael DeHaan
6fa1a49037 Fix the basic templating system such that when the template ends in '$', life continues as normal. 2012-10-20 10:57:52 -04:00
Michael DeHaan
6b8448051f Merge pull request #1389 from sfromm/issue1214
Add ability to create SSH key for user in user module
2012-10-20 07:30:24 -07:00
Michael DeHaan
3c739b1a88 Merge pull request #1339 from inertialbit/add-basic-pg-role-attribute-support
add role_attr_flags parameter to postgresql_user
2012-10-20 07:29:26 -07:00
Michael DeHaan
ed9f5eed09 Merge pull request #1338 from alopropoz/extra_vars_override
Vars specified via CLI have the highest priority.
2012-10-20 07:29:12 -07:00
Stephen Fromm
87954f2110 Use os.path.join where appropriate 2012-10-19 22:22:27 -07:00
Stephen Fromm
63ba441163 Add ability to create SSH key for user in user module
This allows one to create a SSH key for user.  You may define:
ssh_key_type, ssh_key_bits, ssh_key_file, ssh_key_comment,
and ssh_key_passphrase.  If no passphrase is provided, the
key will be passphrase-less.  This will not overwrite an existing key.
In the JSON returned, it will provide the ssh_fingerprint and
ssh_key_file.
2012-10-19 22:00:31 -07:00
Michael DeHaan
5bdc16338e Release version bump for 0.9 (development branch) 2012-10-19 21:01:57 -04:00
Michael DeHaan
67b1372d63 Update packaging and CHANGELOG for release 2012-10-19 20:46:59 -04:00
Michael DeHaan
ed7776d44c update changelog 2012-10-19 20:45:06 -04:00
Michael DeHaan
68cf9a96fc Merge pull request #1388 from goozbach/selinux_bugs
make policy only be required if state is not disabled
2012-10-19 16:35:15 -07:00
Michael DeHaan
f2b2777762 Merge pull request #1386 from jkleint/devel
Update Hadoop contrib URL.
2012-10-19 16:33:55 -07:00
Michael DeHaan
51b423b593 Merge pull request #1387 from skvidal/devel
when a pkg is installed, but not from any repo, don't error out
2012-10-19 16:33:35 -07:00
Derek Carter
99180e7da3 make policy only be required if state is not disabled 2012-10-19 17:17:30 -04:00
Seth Vidal
326b160241 when a pkg is installed, but not from any repo, don't error out
that it is not installed.

Also when a pkg is both installed and in a repo do not look it up
more than once
2012-10-19 16:28:39 -04:00
John Kleint
859a898df6 Update Hadoop contrib URL.
References issue #1380.
2012-10-19 10:49:44 -04:00
Michael DeHaan
cde377bddb Merge pull request #1385 from dhozac/raise-error-for-scripts-too
Raise error for missing hosts in inventory scripts as well
2012-10-19 07:30:01 -07:00
Daniel Hokka Zakrisson
b8021f12e0 Raise error for missing hosts in inventory scripts as well 2012-10-19 16:26:12 +02:00