Commit graph

5736 commits

Author SHA1 Message Date
Toshio Kuratomi
1b0afb137c More robust quoting of database identifiers
Note: These aren't database values, those are already using the
appropriate Pyhton DB API method for quoting.
2014-11-24 20:51:27 -08:00
Chris Church
07faee61de Minor win_user fixes based on feedback. 2014-11-24 00:43:55 -05:00
Will Thames
30c7f9a7d3 Added better region handling and enabled eu-central-1
Make use of improved connect_to_aws that throws an exception
if a region can't be connected to (e.g. eu-central-1 requires
boto 2.34 onwards)

Add eu-central-1 to the two modules that hardcode their regions
Add us-gov-west-1 to ec2_ami_search to match documentation!
This pull request makes use of the changes in ansible/ansible#9419
2014-11-22 11:35:46 +10:00
Toshio Kuratomi
19b328c4df Cannot readlink() on a hard link 2014-11-19 13:04:44 -08:00
Toshio Kuratomi
c46f39f044 Fix git module checking out correct version after initial clone
Fixes #313
2014-11-19 12:30:24 -08:00
Toshio Kuratomi
195e7c5a13 Merge commit '383ecdb' into devel 2014-11-18 13:09:29 -08:00
Toshio Kuratomi
383ecdb50b Correct variable name 2014-11-18 13:08:26 -08:00
Brian Coca
6a31e30076 Merge pull request #333 from hfinucane/apt-dkpg-downgrade
If force=true, ignore python-apt's advice
2014-11-18 15:01:03 -05:00
Brian Coca
ee39fd8df0 Merge pull request #124 from jonhadfield/remove-unused-creates
Remove redundant check for creates argument.
2014-11-18 14:59:11 -05:00
Brian Coca
29d211e7ab service cleanup 2014-11-17 22:32:16 -05:00
Brian Coca
d868b6d366 Merge pull request #343 from bcoca/service_systemd_fix
service now detects systemd is actually running, not just installed
2014-11-17 16:14:03 -05:00
Brian Coca
f49120598f service now detects systemd is actually running, not just installed 2014-11-17 15:03:49 -05:00
Toshio Kuratomi
0941c9490c Merge pull request #342 from Jmainguy/user_el5
fixes user module for rhel5 by using -n instead of -N
2014-11-17 10:29:41 -08:00
Jonathan Mainguy
8b8008569f fixes user module for rhel5 by using -n instead of -N, all other distros will still use -N 2014-11-17 13:26:08 -05:00
Brian Coca
2c1538f220 Merge pull request #259 from IndyMichaelB/docfix
docfix for vsphere_guest.py
2014-11-17 09:48:23 -05:00
Michael Baydoun
8e10fbf5f3 Merge branch 'docfix' of github.com:IndyMichaelB/ansible-modules-core into docfix 2014-11-16 17:02:02 -05:00
IndyMichaelB
5a628aacd4 docfix for vsphere_guest.py
Corrected parameter name from user to username in documentation
2014-11-16 16:59:57 -05:00
Sam Kottler
7b875dbda5 Remove trailing whitespace in digital_ocean_domain 2014-11-15 16:21:07 -05:00
Sam Kottler
b493bd9a0d Merge pull request #336 from skottler/cleanup/65/remove-unsupported-states
digital ocean: Remove unsupported states
2014-11-15 16:15:31 -05:00
Nejc Zupan
6f6eca5b4e digital ocean: Remove unsupported states 2014-11-15 16:12:46 -05:00
Jonathan Armani
253d6f9efb Merge pull request #3 from eest/openbsd_rcctl
Fix typo: Replace "N0" with "NO".
2014-11-15 13:41:20 +01:00
Henry Finucane
ce02d59651 If force=true, ignore python-apt's advice
This lets you downgrade packages, for instance.
2014-11-14 16:27:20 -08:00
Henry Finucane
4558ed6925 dpkg does not take a --force-yes option 2014-11-14 16:24:08 -08:00
Toshio Kuratomi
fb4854ebcb Fix retrieval of package version in apt module 2014-11-14 10:01:30 -08:00
Toshio Kuratomi
c389cd671f Documentation update for apt version wildcards from bryanlarsen 2014-11-14 09:43:38 -08:00
Toshio Kuratomi
c6522620c5 Clean up the docker module just a little so that we can unittest the get_split_image_tag function 2014-11-14 08:46:32 -08:00
Toshio Kuratomi
6be2fbb1c5 Merge pull request #323 from ansible/apt-wildcard
Build on mvo5's pull request to implement apt version wildcard
2014-11-14 07:49:33 -08:00
Toshio Kuratomi
0c312e417a Moving unittests to the main ansible repo for now 2014-11-14 07:45:56 -08:00
Toshio Kuratomi
e1ecc5ca8e Update package_status and install to account for wildcarded versions. 2014-11-14 07:45:56 -08:00
Toshio Kuratomi
ccedf0dd40 Decide to allow pkgname and version wildcards so that things like libxml2*=2.9* would work 2014-11-14 07:45:56 -08:00
Toshio Kuratomi
bc18c9dc78 Cache pkg name list so we don't recreate the list for every package 2014-11-14 07:45:56 -08:00
Toshio Kuratomi
10fd0f7073 Just make things a little more readable 2014-11-14 07:45:56 -08:00
Toshio Kuratomi
3e7ffc3210 Correct trivial spelling. 2014-11-14 07:45:55 -08:00
Toshio Kuratomi
885b60f31f if __name__ does work with ansible modules 2014-11-14 07:45:55 -08:00
Michael Vogt
f475769d3a add apt unittest 2014-11-14 07:45:55 -08:00
Michael Vogt
76fc436b08 Allow foo=1.0* like expressions in apt 2014-11-14 07:45:55 -08:00
Brian Coca
4bc1e46de2 Merge pull request #24 from sysadmind/devel
Added note to files/synchronize module about synchronizing two directori...
2014-11-13 19:44:24 -05:00
Brian Coca
3d57fd5db7 Merge pull request #319 from preo/remove-executable-permissions
Remove incorrect executable permissions on scripts.
2014-11-13 18:24:34 -05:00
Robert Estelle
4dd099fe7a Remove incorrect executable permissions. 2014-11-13 18:08:48 -05:00
Brian Coca
01a15aec21 Merge pull request #317 from maxamillion/admiller/fix-gce_net-fw-example
fix gce_net add firewall rule example
2014-11-13 16:36:46 -05:00
Adam Miller
01db13e3ad fix gce_net add firewall rule example 2014-11-13 15:27:10 -06:00
Stewart Rutledge
3fcc04b9c7 Fixed a typo on power options 2014-11-13 22:03:29 +01:00
Stewart Rutledge
6d79518d67 Fixed a typo on power options 2014-11-13 22:01:26 +01:00
sterutkb
1dd20197b1 Added support for deploying virtual machine from a virtual template 2014-11-13 22:00:57 +01:00
Brian Coca
04680ce228 Merge pull request #286 from bcoca/hostname_24_compatible
made hostname work with python 2.4
2014-11-13 12:39:01 -05:00
Brian Coca
9fb3fb76e7 Merge pull request #303 from bcoca/wait_for_exlude_fixes
minor fixes to wait_for to avoid tracebacks
2014-11-13 12:38:19 -05:00
Brian Coca
a1797628c5 Merge pull request #311 from bcoca/apt_state_fix
Apt state fix
2014-11-13 12:27:37 -05:00
Brian Coca
c96f44c183 Merge pull request #314 from johnpbatty/devel
Fix get_flavor_id() when flavor_ram is specified
2014-11-13 09:08:38 -05:00
John Batty
08b2752080 Fix get_flavor_id() when flavor_ram is specified
Without this fix, _get_flavor_id() fails to find a matching flavor if
both:
* the flavor_ram parameter is specified
* the first flavor in the list does not match.

The bug is simply that the module.fail_json() call lies within the loop
iterating through the flavors.  This call should only be made if the
loop completes and no matching flavors have been found.
2014-11-13 13:26:20 +00:00
Patrik Lundin
eea4d06848 Fix typo: Replace "N0" with "NO". 2014-11-13 12:39:29 +01:00