Commit graph

8976 commits

Author SHA1 Message Date
jctanner
3ed902eee2 Merge pull request #5551 from jeromew/ansible_ssh_alt
remove useless create/delete remote tmp dir roundtrip in copy module
2014-01-08 07:29:51 -08:00
jeromew
69febcefde remove useless create/delete remote tmp dir roundtrip in copy module 2014-01-08 15:22:12 +00:00
jctanner
d9928539c1 Merge pull request #5536 from jeromew/ansible_ssh_alt
Make sure 'tmp' is in the remote tmp dirname to ensure correct cleanup
2014-01-08 06:18:27 -08:00
Michael DeHaan
7bf2250ddf Merge pull request #5543 from jlund/improved-password-documentation
Improved the documentation for password generation
2014-01-07 19:28:11 -08:00
jctanner
4f16ca7503 Merge pull request #5544 from lichesser/patch-1
Remove testing code
2014-01-07 18:34:34 -08:00
lichesser
7201972a56 Remove debugging code
I guess this is left over from testing
2014-01-08 02:34:59 +01:00
Serge van Ginderachter
836fb4143c path_dwim: fix when basedir not set 2014-01-08 02:21:10 +01:00
Joshua Lund
3b4f3f8ca3 Improved the documentation for password generation 2014-01-07 18:20:39 -07:00
Michael DeHaan
ea4eb3f8ad Merge pull request #5541 from tima/clog144
Retroactively added v1.4.4 to CHANGELOG.md that was omitted during release.
2014-01-07 15:49:52 -08:00
Timothy Appnel
8b0c304a89 Retroactively added v1.4.4 to CHANGELOG.md that was omitted during release. 2014-01-07 18:10:57 -05:00
Paul Durivage
41be035a43 Add module support for Rackspace Cloud Files Containers 2014-01-07 17:01:59 -06:00
jeromew
c9b01febb3 Make sure 'tmp' is in the remote tmp dirname to ensure correct cleanup 2014-01-07 20:56:12 +00:00
James Tanner
c8bd14925d Fixes #5369 Do not pass --force-yes to aptitude 2014-01-07 15:53:28 -05:00
James Tanner
dee960716b Fixes #5353 create etc/hostname file in debian if it does not exist 2014-01-07 15:53:16 -05:00
jctanner
7520bac8ce Merge pull request #5404 from sivel/rax-improvements
rax module: improvements
2014-01-07 15:52:35 -05:00
Michael DeHaan
1e6926b9ab Merge pull request #5528 from dverhelst/devel
Adding support for detecting RHEV Hypervisor in ansible_virtualization_type
2014-01-07 15:51:21 -05:00
Michael DeHaan
659cb3118f Merge pull request #5520 from kormoc/fix_symetric_tyop
While looking into filters, I noticed that the documentation has a typo....
2014-01-07 15:49:52 -05:00
jctanner
21b4212ff5 Merge pull request #5517 from lichesser/fix_set_depreciation_warning
Fixes #5513. set is built-in since 2.4 and deprecated since 2.6
2014-01-07 15:48:27 -05:00
Matt Martz
07a4fe1b0d Don't overwrite max-width for wy-nav-content 2014-01-06 17:34:04 -06:00
Matt Martz
90d49cec5a Increase the content max-width to 1140px from 800px 2014-01-06 17:15:04 -06:00
Matt Martz
26f7d62bf2 Get rid of grey background when content doesn't fill the screen 2014-01-06 17:15:04 -06:00
Matt Martz
f3978a7385 Properly indent @media blocks 2014-01-06 17:15:04 -06:00
Matt Martz
626f0f1393 Use some sed magic as the css minifier 2014-01-06 17:15:04 -06:00
Matt Martz
cc440d0a64 Add staticmin make target for compressing docs related css and js files, currently only theme.css 2014-01-06 17:15:04 -06:00
Matt Martz
e3c0c148e4 Add *.min.css to docsite/.gitignore 2014-01-06 17:15:04 -06:00
Matt Martz
e375f7d13a Add beautified theme.css
* Update theme.conf to use theme.min.css
* Add "beautified" (un-minified) theme.css
2014-01-06 17:15:04 -06:00
Michael DeHaan
f77e744666 Merge pull request #5516 from chouseknecht/devel
Modified docsite layout to use Google custom search.
2014-01-06 15:03:40 -08:00
Chris Houseknecht
a0d0a70882 Modified docsite layout to use Google custom search. 2014-01-06 22:55:19 +00:00
jctanner
83dec044ab Merge pull request #5504 from smoothify/synchronize-sudo
Synchronize Module: Improved sudo override behaviour.
2014-01-06 14:52:59 -08:00
jctanner
9a69b1b0ec Merge pull request #5311 from willthames/ec2_refactor
ec2 modules: Move more responsibility to common EC2 module
2014-01-06 14:09:38 -08:00
jctanner
aa1f9f24c3 Merge pull request #5264 from drewlll2ll/file-fix
file module: Fixed missing prev_state == 'directory' in file
2014-01-06 14:07:07 -08:00
James Tanner
d6b78e9dd6 Fixes #5238 Improve error messaging about unquoted variable references in playbooks 2014-01-06 16:47:19 -05:00
jctanner
57d54c1da5 Merge pull request #5236 from willthames/ec2_inv_rds_fail_safe
ec2 inventory: Fail EC2 inventory better with restricted EC2 users
2014-01-06 12:57:21 -08:00
jctanner
fd4ae165e4 Merge pull request #5153 from willthames/ec2_inventory_multiuser
Allow multiple users to use ec2 inventory scripts
2014-01-06 12:55:08 -08:00
James Tanner
5c64d703b9 Fixes #5227 Corrected doc example of with_first_found 2014-01-06 15:40:11 -05:00
James Tanner
ab51bd23a2 Fixes #5196 return a unique list of hostnames for a single host pattern 2014-01-06 14:19:20 -05:00
James Cammarata
ccbc99fe4f Fixed splitting of role/user name when username has a '.' in it
This may still be an issue if users create roles with a '.' in the name though.
We will probably have to disallow that in the role naming convention.
2014-01-06 10:42:41 -05:00
James Tanner
d8d1152940 Update latest released version of ansible to 1.4.4 on docsite 2014-01-06 10:38:56 -05:00
smoothify
93a55e8dff Don't override sudo if transport is set to local.
https://github.com/ansible/ansible/pull/5251
2014-01-04 23:32:25 +00:00
Alan Fairless
7a86083850 Fix postgresql_user to understand PG namespaces
Previously postgresql_user quoted user supplied identifers to create
grant statements that look like this:

    GRANT SELECT on "tablename" to "user";

Which only works if the tablename is not in a namespace.  If you supply
a namespaced tabelname like "report.revenue" then it creates this
incorrect statement:

    GRANT SELECT on "report.revenue" to "user";

Which will not find the "revenue" table in the "report" namespace, but
will rather look for a table named "report.revenue" in the current
(default public) namespace.  The correct form is:

    GRANT SELECT on "report"."revenue" to "user";

This approach could have the unfortunate effect that code that
previously relied on the other behavior to grant privileges on tables
with periods in their names may now break.  PostgreSQL users
typically shouldn't name tables as such, and users can still access the
old behavior and use tablenames with periods in the if they must by
supplying their own quoting.
2014-01-04 15:37:08 -06:00
Michael DeHaan
c039e276a2 Fact gathering on a second play against the same hosts should not be implicitly off since this is an undocumented beheavior and potentially
rather unwanted when a play could change a fact.

gather_facts: True/False can still be explicitly used per play.

Reverts 564a212b3c
2014-01-04 14:03:58 -05:00
Michael DeHaan
87258f6d42 Resolve merge commit 2014-01-04 14:03:42 -05:00
Michael DeHaan
1c632af2c9 Merge pull request #5468 from jeromew/ansible_ssh_alt
fix issue #5372 on ssh_alt: accept -K option for a user with NOPASSWD
2014-01-04 10:55:58 -08:00
Michael DeHaan
e0cd4a45c6 Merge pull request #5489 from daghoidahl/devel
Use "brew list <name>" instead of grepping the output of "brew list". Fix for #5488
2014-01-04 10:52:03 -08:00
Michael DeHaan
a3d90e8a87 Merge pull request #5498 from j2sol/exit_setup_early
Return early from setup step when possible
2014-01-04 10:47:35 -08:00
Michael DeHaan
227e8e31c9 Merge branch 'use_comps' of git://github.com/j2sol/ansible into devel 2014-01-04 13:36:40 -05:00
Michael DeHaan
10350d1639 Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
Jesse Keating
23720ff19d Use list comprehensions for efficiency
For loops can be inefficient, particularly when doing a dot command with
them. https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Loops and
https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Avoiding_dots...

This patch makes use of list comprehensions to be as efficient as
possible while still retaining order. Efficiency was lost a bit when
switching away from sets() but this gains some of it back.
2014-01-03 18:07:00 -08:00
Michael DeHaan
c4eb3b47ed Merge pull request #5497 from paulbeattie/devel
Fixed typo in example documentation
2014-01-03 17:57:15 -08:00
Jesse Keating
35328ed503 Return early from setup step when possible
The _list_available_hosts call can be lengthy, and in the case where
gather_facts is disabled the call is pointless. So re-arrange the logic
to return early from _do_setup_step when gather_facts is false.
2014-01-03 16:39:13 -08:00