Commit graph

12443 commits

Author SHA1 Message Date
Michael DeHaan
76ecdcdeef Merge pull request #9088 from mscherer/fix_8895/fix_indentation_rds
Fix indentation and bug #8895
2014-09-21 19:18:12 -04:00
Michael Scherer
dc31585f59 Fix indentation and bug #8895 2014-09-21 17:12:29 +02:00
Michael Scherer
87b0b0e0ce Fix #9704, correctly set changed as false when nothing is done 2014-09-21 14:55:31 +02:00
Michael Scherer
049c9c6b18 Make file module work on python 2.4, fix #9080
Python 2.4 do not support "except ... as ..." construct, so
revert back to the older syntax.
2014-09-21 01:50:58 +02:00
James Cammarata
1bae4e4df1 Add note on ec2_lc regarding immutability of configs once created
Fixes #8927
2014-09-19 15:17:46 -05:00
James Cammarata
9d45f3a65e Before decrypting check if vault password is set or error early
Fixes #8926
2014-09-19 15:10:30 -05:00
Toshio Kuratomi
5850467bc1 Merge pull request #9060 from jamespharaoh/apt-lang
add LANG=C to apt module so the string matches on the output always matc...
2014-09-19 12:30:15 -07:00
Toshio Kuratomi
cc80b058c1 Be more specific in checking if a job restarted successfully.
Fixes: #9056
2014-09-19 12:03:27 -07:00
James Cammarata
4a26d0d7c0 Merge pull request #9059 from mpeters/docsite_test_integration_packages
documenting extra packages that need to be installed to run the full integration tests
2014-09-19 09:02:14 -05:00
James Cammarata
da5de725d7 Allow with_first_files to search relative to templates and vars in roles
Fixes #8879
2014-09-18 16:05:30 -05:00
Toshio Kuratomi
f7b5b85743 Fix the name of the upstart service 2014-09-18 13:18:31 -07:00
Toshio Kuratomi
d98e32e364 Fix the var we're checking in the upstart test 2014-09-18 13:00:37 -07:00
Toshio Kuratomi
6943ec11a5 Failure to enable a service now fails the task
Fixes: 8855
2014-09-18 12:39:54 -07:00
James Pharaoh
98a1fd681e add LANG=C to apt module so the string matches on the output always match 2014-09-18 20:56:21 +02:00
Michael Peters
7aa6639c13 documenting extra packages that need to be installed to run the full integration tests 2014-09-18 14:55:03 -04:00
James Cammarata
91ca8d42e7 Merge pull request #9058 from mpeters/docsite_more_test_modules
minor tweak to documentation of required modules for running tests
2014-09-18 13:48:06 -05:00
Michael Peters
9c590b30b2 minor tweak to required modules for running tests 2014-09-18 14:32:53 -04:00
James Cammarata
02e800a4ee Merge pull request #9052 from EvanDotPro/docs/fix-rax-public-key-example
Update rax root pubkey example
2014-09-18 13:25:36 -05:00
James Cammarata
706cc1a35e Merge pull request #9049 from omadahealth/issue_9048
[#9048] convert Route53 TTL to integer before comparison
2014-09-18 13:21:45 -05:00
James Cammarata
1d3a8bd39c Updating current ansible version on docsite index 2014-09-18 08:01:58 -05:00
Evan Coury
f445e3c606 Update rax root pubkey example
The example was showing how to use the `files` option to pass in a local file as an authorized public key for root. While this works, it's a bit sloppy, given that there's a specific option, `key_name` which will use one of your public keys on your rackspace account and add it as an authorized key for root. In our case, one of our admins didn't notice the `key_name` option because they scrolled straight to the example and saw the `files` strategy.

I propose that the example still shows `files`, but not using a root public key as an example, and instead also demonstrate the `key_name` option so that it's clear from the example how to get the initial root public key deployed.
2014-09-17 18:06:59 -07:00
Sam Pierson
44cab4bf75 [#9048] convert Route53 TTL to integer before comparison
boto/Route53 are returning TTL as a string.
The route53 module is comparing it with an integer and therfore thinks the DNS entry has always changed.
2014-09-17 14:47:27 -07:00
James Cammarata
6b1ae82acc Allow filtering by availability zone for exact_count with ec2
Fixes #8863
2014-09-17 15:49:26 -05:00
James Cammarata
c3612e08f9 Move delegate_to out of runner module_vars to prevent bleeding across runs
Previously, the delegate_to value was stored in the module_vars of runner,
which could lead to bleeding that value across runs and incorrect hosts
being delegated to. This patch moves the value to a local variable in
the Runner class with some related refactoring of _compute_delegate() in
Runner (since the value is no longer required to be a parameter).

Fixes #8705
2014-09-17 14:24:31 -05:00
Toshio Kuratomi
5ec8c28d2a remove debugging that was causing failure 2014-09-17 10:25:54 -07:00
Toshio Kuratomi
8dfc54b517 Refactor the Linux service_enable() method
* Fix check_mode for initctl systems

Fixes #9009
2014-09-17 09:34:33 -07:00
Toshio Kuratomi
24a33d5c10 Revert "Refactor the Linux service_enable() method" needs some debugging
This reverts commit e294e31fd3.
2014-09-17 09:17:33 -07:00
James Cammarata
ed3c9c40ca Redoing patch for hostvars fix, since the previous one broke other tests 2014-09-17 11:04:10 -05:00
James Cammarata
3180a37457 Revert "Revert to using just the combined_cache for HostVars"
This reverts commit e9229cfeaa.
2014-09-17 11:04:10 -05:00
Toshio Kuratomi
e294e31fd3 Refactor the Linux service_enable() method
* Fix check_mode for initctl systems

Fixes #9009
2014-09-17 08:44:32 -07:00
James Cammarata
e9229cfeaa Revert to using just the combined_cache for HostVars 2014-09-17 02:32:09 -05:00
James Cammarata
28f6a18ef6 Allow git repo queries without a clone when update=no
This commit also makes the dest parameter optional, unless update=yes
(the default), since it is not required for queries without an update.

Fixes #8630
2014-09-17 02:05:29 -05:00
James Cammarata
b7a74e216f Merge pull request #8948 from sergevanginderachter/issue_8823
ansible-galaxy: exit with rc 1 if role doesn't exist/is not found
2014-09-16 21:47:29 -05:00
James Cammarata
4f03dd65ce Ensure port in docker expose list is a string
Fixes #8731
2014-09-16 21:38:49 -05:00
James Cammarata
bc583dabbc Removing reference to ansible-pull in bin/ansible-vault 2014-09-16 15:37:36 -05:00
James Cammarata
2b0b2f42df CHANGELOG update for ec2 filtering and file "following" param 2014-09-16 15:26:10 -05:00
James Cammarata
fa32bd34d6 Merge branch 'michalgasek-ec2-tag-filter' into devel 2014-09-16 15:24:46 -05:00
James Cammarata
21409d6052 Merge branch 'ec2-tag-filter' of https://github.com/michalgasek/ansible into michalgasek-ec2-tag-filter 2014-09-16 15:11:05 -05:00
Michael DeHaan
489574e072 Docs indentation - this time with feeling 2014-09-16 15:40:00 -04:00
Michael DeHaan
506d4554dc Fix documentation indent levels. 2014-09-16 15:27:40 -04:00
James Cammarata
4a9cf3f3f2 Allow hostvars variables to be templated
Fixes #7844
2014-09-16 14:25:55 -05:00
Michael DeHaan
590cfbac29 Merge pull request #9028 from dhoss/devel
updated git module documentation
2014-09-16 15:19:44 -04:00
James Cammarata
4f7fcf3463 Merge pull request #9026 from tedder/patch-1
rearrange description/short_description
2014-09-16 14:04:45 -05:00
James Cammarata
b9a1b0f088 Merge pull request #9025 from sivel/doc-vault-password-file
Document vault_password_file in intro_configuration
2014-09-16 14:02:41 -05:00
Toshio Kuratomi
9f70830569 My fix was wrong again. Base this try off of @mantiz's fix in #9016 2014-09-16 11:46:09 -07:00
Toshio Kuratomi
733290a731 Fix the case where a docker image is not part of a namespace.
Fixes #9016
2014-09-16 11:39:15 -07:00
James Cammarata
fdf126a337 Add note to ec2_vol state param regarding list option added in 1.8 2014-09-16 13:20:39 -05:00
James Cammarata
b376e208c7 Adding "follow" param for file/copy options
Also modifies the template action plugin to use this new param
when executing the file/copy modules for templating so that links
are preserved correctly.

Fixes #8998
2014-09-16 12:05:55 -05:00
Devin Austin
5dd9231743 updated git module documentation
Clarified key_file option for the git module, since it requires the user to specify a private key, not a public key.
2014-09-16 11:05:37 -06:00
Toshio Kuratomi
79a2e586fe Make systemd vs rht detection more robust for centos
Centos 6.x and below use an old RHT style of configuring hostname.
CentOS 7.x and better use systemd.  Instead of depending on the
distribution string which seems to have changed over the course of 6.x
we need to explicitly check the version.

Fixes #8997
2014-09-16 09:53:13 -07:00