Commit graph

5455 commits

Author SHA1 Message Date
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
Brian Coca
a13c568310 corrected comparisson which had accidentally chaned in previous fixes 2014-11-12 17:16:02 -05:00
Brian Coca
bbebdefacb better handling of deprecated aliases 2014-11-12 17:01:14 -05:00
Brian Coca
3a967c8005 Merge pull request #290 from ctrlaltdel/devel
Fix a typo in nova_compute documentation string
2014-11-12 16:33:57 -05:00
Brian Coca
1622e3b2df Merge pull request #284 from borgified/devel
typo in comments: of -> or
2014-11-12 16:33:20 -05:00
Brian Coca
5356ccbb35 make sure 'present' is fully equivalente of 'installed' and remove installed from
feedback in favoer of 'present'
2014-11-12 15:46:36 -05:00
James Cammarata
a7749a8fce Merge pull request #309 from jsmartin/asg_fix_delete
asg will now be terminated if state=absent.
2014-11-12 13:16:49 -06:00
James Martin
341c7ce307 asg will now be terminated if state=absent.
adds mutually exclusive options
2014-11-12 12:44:03 -05:00
James Cammarata
710b7b9aba Merge pull request #308 from jsmartin/asg_orphaned_code
Removes orphaned code.
2014-11-12 11:16:06 -06:00
James Cammarata
ae744f98d8 Serialize tag attributes to ASG properties in ec2_asg
Fixes #108
2014-11-12 11:04:43 -06:00
James Martin
d5326e6dbd Removes orphaned code. 2014-11-12 11:48:06 -05:00
James Cammarata
95b5094bd0 Merge pull request #305 from jsmartin/devel
fixes #240, #274, #108
2014-11-12 09:17:51 -06:00
James Martin
f287600e6c fixes #240, #274, #108 2014-11-11 19:47:34 -05:00
Brian Coca
5af9928996 let implied type do the spliting 2014-11-11 15:34:55 -05:00
Brian Coca
d67ac4d33e minor fixes to wait_for to avoid tracebacks as per ansible core issue #9244 2014-11-11 15:09:42 -05:00
Brian Coca
5ed41f7ba4 Merge pull request #301 from geerlingguy/add-fetch-mention
Add mention of fetch module to the copy module docs.
2014-11-11 13:33:56 -05:00
Jeff Geerling
b9471c9cd5 Add mention of fetch module to the copy module docs. 2014-11-11 12:22:27 -06:00
Brian Coca
83669d7eda switched to iterator as per comments 2014-11-11 09:39:03 -05:00
James Cammarata
6db6cd219e Use new prompt detection in run_command to detect aptitude prompts
Also adds flags to aptitude command when force=yes is used, in order
to bypass the prompts given for untrusted packages.

Fixes #31
2014-11-10 23:45:27 -06:00
Brian Coca
f2ee976a69 Merge pull request #298 from mrijkeboer/fix-sysctl-whitespace
Remove whitespace around '=' in sysctl.conf (bug #287).
2014-11-10 17:59:55 -05:00
Martijn P. Rijkeboer
5257222f33 Fix whitespace around '=' in sysctl.conf. 2014-11-10 20:00:28 +01:00
Brian Coca
cc1de2c562 Merge pull request #291 from zemanel/fix-typo
Fixed small typo on ec2 task name
2014-11-10 08:50:39 -05:00
José Moreira
03cf57c6f0 Fixed small typo on ec2 task name 2014-11-10 11:24:31 +00:00
Francois Deppierraz
2dee52616d Fix a typo in nova_compute documentation string
Without this patch, ansible-doc was failing this way:

$ ansible-doc nova_compute
Traceback (most recent call last):
  File "/home/francois/WORK/dev/ansible/bin/ansible-doc", line 324, in <module>
    main()
  File "/home/francois/WORK/dev/ansible/bin/ansible-doc", line 316, in main
    text += get_man_text(doc)
  File "/home/francois/WORK/dev/ansible/bin/ansible-doc", line 112, in get_man_text
    desc = " ".join(opt['description'])
KeyError: 'description'
2014-11-10 09:30:29 +01:00
Brian Coca
e4b6968901 made hostname work with python 2.4 2014-11-08 12:08:47 -05:00
Fwiffo
6cb8a5f312 typo in comments: of -> or 2014-11-07 15:20:49 -08:00
Toshio Kuratomi
6317d3a988 Move from md5 to sha1 to work on FIPS-140 enabled systems 2014-11-06 21:25:55 -08:00