Commit graph

6940 commits

Author SHA1 Message Date
Alan Loi
ac09e60914 Add .py file extension to dynamodb_table module. 2015-06-21 08:40:57 +10:00
Alan Loi
3f74ec35e6 Add .py file extension to sqs module. 2015-06-21 08:39:13 +10:00
Alan Loi
2ddb8807bf Add new amazon sqs module. 2015-06-20 22:22:30 +10:00
Alan Loi
011fef5f32 Added return value documentation to dynamodb_table module. 2015-06-20 21:34:27 +10:00
Alan Loi
268104fca3 Added check_mode support to dynamodb_table module. 2015-06-20 21:24:36 +10:00
Robert Buchholz
fc43c3a8fd patch: Add binary option that maps to --binary to handle CLRF patches 2015-06-20 09:00:30 +02:00
Christopher Troup
8c643498d3 Use state: present|absent rather than command: create|delete 2015-06-19 14:15:27 -04:00
Christopher Troup
86ae387fdc Update documentation to include usual fields
- Adds version_added
- Adds author
- Removed default: null from a required field
2015-06-19 14:15:27 -04:00
Christopher Troup
edc423a18a Add support for creating and deleting Route53 hosted zones
Supports both private (per-VPC) and public hosted zones.
2015-06-19 14:15:27 -04:00
Brian Coca
3f9e2fb4e6 Merge pull request #629 from bcoca/sensu_check_2.4
made sensu_check 2.4 friendly
2015-06-19 12:22:59 -04:00
Brian Coca
286bc3d9dc forgot finally 2.4 syntax 2015-06-19 12:13:43 -04:00
Brian Coca
eeb9d34812 also fixed exceptions 2015-06-19 12:10:14 -04:00
Toshio Kuratomi
dd6e8f354a Modify a few more modules to not conditionalize urllib(2) import. 2015-06-19 09:07:04 -07:00
Brian Coca
1659af1541 made sensu_check 2.4 friendly 2015-06-19 12:05:50 -04:00
Toshio Kuratomi
4b29146c4d be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
2015-06-19 09:01:08 -07:00
Brian Coca
8f31d84300 Merge pull request #203 from andsens/sensu-check
Add sensu_check module
2015-06-19 11:17:42 -04:00
Brian Coca
1604382538 monior docfixes
added extensino to vsphere_copy so it actually installs
2015-06-19 11:04:25 -04:00
Brian Coca
35a4e70dee minor fixes 2015-06-19 11:00:58 -04:00
Brian Coca
d1b1b2b6f3 Merge pull request #626 from amir343/devel
Implementation of EC2 AMI copy between regions
2015-06-19 10:59:49 -04:00
Brian Coca
be20038f7b Merge pull request #627 from resmo/feature/cs_facts
cloudstack: new module cs_facts
2015-06-19 09:44:04 -04:00
Greg DeKoenigsberg
c8295f518f Merge pull request #628 from dagwieers/patch-1
Spurious newline could corrupt payload
2015-06-19 09:29:59 -04:00
Andrew Udvare
e203087aaa Fix comparison 2015-06-19 06:04:56 -07:00
Dag Wieers
d0cf9617a5 Spurious newline could corrupt payload
Due to a spurious newline we corrupted the payload. It depends on the order of the headers and if there were headers added by vSphere.

The Accept header was also not needed.
2015-06-19 13:30:29 +02:00
Rene Moser
35b6bc417d cloudstack: new module cs_facts 2015-06-19 11:55:05 +02:00
Anders Ingemann
3f3a73da37 Add sensu_check module 2015-06-19 09:58:14 +02:00
Amir Moulavi
628f2b98b6 Implementation of EC2 AMI copy between regions 2015-06-19 09:12:08 +02:00
Brian Coca
e66e953f08 Merge pull request #410 from wimnat/feature/ec2_eni
Add ec2_eni module (aws network interfaces)
2015-06-19 01:34:36 -04:00
Greg DeKoenigsberg
352531930c Merge pull request #607 from wimnat/feature/ec2_vpc_igw
Feature/ec2 vpc igw
2015-06-18 23:30:02 -04:00
Greg DeKoenigsberg
0a22a3d708 Merge pull request #625 from willthames/aws_guidelines
Add GUIDELINES for AWS module development
2015-06-18 22:44:43 -04:00
Will Thames
6b8c462d66 Add GUIDELINES for AWS module development
Starting point for a reference when doing pull request reviews.
If something doesn't meet the guidelines we can point people
at them. If something is bad but is not mentioned in the
guidelines, we should add it here.
2015-06-19 12:40:56 +10:00
whiter
c93cf8c054 Changed to use "connect_to_aws" method 2015-06-19 12:14:57 +10:00
whiter
65f98d53af Updated documentation 2015-06-19 12:14:56 +10:00
Robert Estelle
3b38209afd ec2_vpc_subnet - Use dict constructor instead of comprehension. 2015-06-19 12:14:56 +10:00
Robert Estelle
e33de8bd88 ec2_vpc - More dry running in check mode. 2015-06-19 12:14:56 +10:00
Robert Estelle
0de9722e0c ec2_vpc_subnet - resource_tags is not required. 2015-06-19 12:14:56 +10:00
Robert Estelle
6f978b9c00 ec2_vpc - Fail module using fail_json on boto import failure. 2015-06-19 12:14:56 +10:00
Robert Estelle
54809003e3 ec2_vpc - VPCException -> AnsibleVPCException 2015-06-19 12:14:55 +10:00
Robert Estelle
fa7848a6c8 EC2 subnet/route-table: Simplify tag updating. 2015-06-19 12:14:55 +10:00
Robert Estelle
d8b4bd3c34 Split out route table and subnet functionality from VPC module. 2015-06-19 12:14:55 +10:00
Andrew Udvare
5e5eec1806 --usepkgonly does not imply --getbinpkg
Add usepkg option to allow conditional building from source if binary
packages are not found

5a6de937cb (commitcomment-11755140)
https://wiki.gentoo.org/wiki/Binary_package_guide#Using_binary_packages
2015-06-18 15:59:46 -07:00
Phil
623a29cc0e update to not auto-install PSCX
- will use built-in powershell method instead for .zip files
- added example for installing pscx as a pretask
2015-06-18 16:18:15 -05:00
Dustin C. Hatch
e3d608297d packaging/os/portage: Handle noreplace in check mode
The `--noreplace` argument to `emerge` is generally coupled with
`--newuse` or `--changed-use`, and can be used instruct Portage to
rebuild a package only if necessary. Simply checking to see if the
package is already installed using `equery` is not sufficient to
determine if any changes would be made, so that step is skipped when
the `noreplace` module argument is specified. The module then falls back
to parsing the output from `emerge` to determine if anything changed. In
check mode, `emerge` is called with `--pretend`, so it produces
different output, and the parsing fails to correctly infer that a change
would be made.

This commit adds another regular expression to check when running in
check mode that matches the pretend output from `emerge`.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2015-06-18 14:05:59 -05:00
Dustin C. Hatch
1b0676b559 packaging/os/portage: Improve check mode handling
When running in check mode, the *portage* module always reports that no
changes were made, even if the requested packages do not exist on the
system. This is because it was erroneously expecting `emerge --pretend`
to produce the same output as `emerge` by itself would, and attempts to
parse it. This is not correct, for several reasons. Most specifically,
the string for which it is searching does not exist in the pretend
output. Additionally, `emerge --pretend` always prints the requested
packages, whether they are already installed or not; in the former case,
it shows them as reinstalls.

This commit adjusts the behavior to rely on `equery` alone when running
in check mode. If `equery` reports at least one package is not
installed, then nothing else is done: the system will definitely be
changed.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2015-06-18 13:50:43 -05:00
Greg DeKoenigsberg
bd177bcb62 Merge pull request #622 from ggermis/devel
haproxy module wait
2015-06-18 09:17:29 -04:00
Gerrit Germis
5a1109229d added version_added: "2.0" to new parameters 2015-06-18 09:11:16 +02:00
Brian Coca
95434149d3 Merge pull request #199 from bkimble/devel
added hall.com notification module
2015-06-17 12:39:26 -04:00
Brian Coca
036a9ccda1 Merge pull request #28 from brian-brazil/dpkg_selections
Add dpkg_selections module
2015-06-17 11:44:29 -04:00
Gerrit Germis
656e1a6deb allow wait, wait_retries and wait_interval parameters for haproxy module. This allows the haproxy to wait for status "UP" when state=enabled and status "MAINT" when state=disabled 2015-06-17 17:29:38 +02:00
Brian Coca
9db032aa11 minor doc update 2015-06-17 09:42:18 -04:00
Brian Coca
8753b2cd20 minor docfixes 2015-06-17 09:39:57 -04:00