James Cammarata
e47f6137e5
Push the expanduser call on the source down to slurp rather than fetch
...
Also moves the calculation of the destination file name until after
the slurp of the file contents, since the source as returned by slurp
may now be different, so we want to use that expanded path locally.
Fixes #8942
2014-09-23 15:32:07 -05:00
James Cammarata
12c0378f78
Skip null id route tables when adding/deleting them in ec2_vpc
...
Fixes #8552
2014-09-23 14:51:56 -05:00
Steven Ringo
e1afaf8d05
Expand description for ec2_facts module
2014-09-23 08:53:57 +10:00
James Cammarata
0d90127aa0
Merge branch 'dmage-devel' into devel
2014-09-22 15:42:38 -05:00
James Cammarata
56954a200e
Merge branch 'devel' of https://github.com/dmage/ansible into dmage-devel
2014-09-22 15:40:06 -05:00
Toshio Kuratomi
cec7dd6666
The fix for gh-7284 causes problems for initscripts which have the
...
standards compliant return codes but return a verbose error message via
stdout. Limit the times when we invoke the heuristic to attempt to work
around this.
2014-09-22 14:53:07 -04:00
Toshio Kuratomi
c289ba1b21
Merge pull request #9084 from mscherer/fix9704/fix_service
...
Fix #9704 , correctly set changed as false when nothing is done
2014-09-22 11:47:56 -04:00
Michael DeHaan
5c49997a2d
Merge pull request #9082 from mscherer/fix9080/file_not_working_py24
...
Make file module work on python 2.4, fix #9080
2014-09-21 19:18:44 -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
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
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
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
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
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
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
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
4f03dd65ce
Ensure port in docker expose list is a string
...
Fixes #8731
2014-09-16 21:38:49 -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
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
Ted Timmons
d98bc79f77
further cleanup
2014-09-16 09:37:01 -07:00
Ted Timmons
61dfeaa43c
rearrange description/short_description
...
it's really dorked on [the documentation page](http://docs.ansible.com/ec2_elb_lb_module.html ). This puts it in line with other modules.
2014-09-16 09:35:20 -07:00
Toshio Kuratomi
a44ea2d1b7
Do not keep a new file if we fail to set its attributes.
2014-09-15 12:36:52 -07:00
Toshio Kuratomi
9fb6cabe21
Fix splitting the tag from the image name
...
Fixes #8983
2014-09-15 09:01:07 -07:00
James Cammarata
7a1a580e37
Merge pull request #8973 from sergevanginderachter/vsphere_guest_docfix
...
vsphere_guest module doc fix
2014-09-15 09:27:15 -05:00
Bruno BAILLUET
580968ca77
Fix a typo on is_update call inside latest function
2014-09-12 18:19:00 +02:00
James Cammarata
1c8f999e51
Merge pull request #8586 from ericwb/fix_glance_doc
...
Fix the docs for glance_image.endpoint_type
2014-09-11 19:44:43 -05:00
Michael DeHaan
fb13e2bf2e
Merge pull request #8853 from kvar/devel
...
zypper: handle lists of packages efficiently
2014-09-11 17:30:21 -04:00
James Cammarata
dc9482d548
Fix quoting issues in lineinfile for individual single-quotes
...
Fixes #8806
2014-09-11 16:27:48 -05:00
Toshio Kuratomi
1c3039f079
Omit tag from parsed image name
...
Fixes #8925
2014-09-11 11:27:00 -07:00
James Cammarata
22dbb65b13
Move initscript rc check to later in service status check
...
Fixes #7284
2014-09-11 12:11:06 -05:00
Michael DeHaan
26cdddaebf
Tracebacks are now catchable with ignore_errors and have streamlined output. Also removes 'baby-JSON' for bash modules.
2014-09-11 12:27:21 -04:00
Serge van Ginderachter
c3614853ee
vsphere_guest module doc fix
2014-09-11 15:47:22 +02:00
Michael DeHaan
f67bd9ccea
Remove reference to deprecated input mechanism.
2014-09-10 17:45:24 -04:00
Michael DeHaan
2387da09a0
Merge pull request #8901 from jsmartin/ec2_replace_all
...
Rolling Instance Replace. Fixes #8501 .
2014-09-10 17:42:35 -04:00
James Cammarata
a571fd4efe
Convert boolean strings from set_fact to proper boolean values
...
Also adds integration tests for booleanification of strings
Fixes #8629
2014-09-10 09:56:39 -05:00