Commit graph

8609 commits

Author SHA1 Message Date
Allen Sanabria
aa189b8d98 Added default result of None in catch statement 2016-08-03 12:38:05 -07:00
Allen Sanabria
ee523be26c Updated module to be compliant with test cases.
* Added integration tests
* Added unit tests
2016-08-03 12:38:05 -07:00
Allen Sanabria
349db85b00 Fixed the missing argument to get_eip_allocation_id_by_address 2016-08-03 12:38:05 -07:00
Allen Sanabria
f86c5f8465 Manage AWS Nat Gateways
* Create an AWS Nat Gateway.
* Delete an AWS Nat Gateway.
* If Nat Gateway exist in subnet and the option is passed to not create one, it will then return the Nat Gateway object.
2016-08-03 12:38:05 -07:00
James Cammarata
6fb1ec9def Merge pull request #2652 from logicmonitor/logicmonitor
Add logicmonitor and logicmonitor_facts modules
2016-08-03 14:04:36 -05:00
John R Barker
44948d3f15 Merge pull request #2323 from bendoh/bendoh-archive-module
New Module: archive
2016-08-03 11:16:03 -07:00
Andrea Scarpino
b28daebc2b win_firewall_rule: fix "property X doesn't exist"
After commit 9392943 more properties are always sets with their defaults
values (e.g. service to 'any'). This causes no issue when the rule is created,
but causes an error message that says "The property 'X' cannot be found on this
object. Verify that the property exists." because the module checks for
any property value that has changed, but `netsh advfirewall firewall show rule`
does not list any property unless `verbose` is set. This patch solves this.

Fixes #2624
2016-08-03 11:05:08 +02:00
Robin Schneider
57c142b6ed Use HTTPS instead of legacy HTTP for ansible.com (#2636)
Mechanical edit done by this "one-liner":

git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#http://www\.ansible\.com#https://www.ansible.com#g;'

Related to: https://github.com/ansible/ansible/issues/16869
2016-08-02 21:12:51 +02:00
Jeff Wozniak
679f30dd20 Add logicmonitor and logicmonitor_facts modules 2016-08-02 11:13:39 -07:00
jctanner
11c86c9696 Merge pull request #2649 from jctanner/PYVMOMI_VMWARE_GUEST_MODULE
Pyvmomi vmware_guest module
2016-08-02 13:38:38 -04:00
James Tanner
13215eeb7c Consolidate to one module and use new arg spec 2016-08-02 11:28:03 -04:00
James Tanner
6cebd509d7 add examples 2016-08-01 23:08:30 -04:00
James Tanner
cf61825ae5 Remove print statements 2016-08-01 23:04:00 -04:00
James Tanner
a3f415a892 fix tabs 2016-08-01 22:47:26 -04:00
James Tanner
5d2d0e0045 fix tabs 2016-08-01 22:38:41 -04:00
James Tanner
07fb05a852 Add the guest state module 2016-08-01 22:20:05 -04:00
James Tanner
3caee773cb Rename module 2016-08-01 21:40:12 -04:00
James Tanner
c51b1549a2 Add return data example 2016-08-01 21:34:33 -04:00
Matt Clay
4943b4e82e Enable FreeBSD tests on Shippable. (#2648) 2016-08-01 16:13:07 -07:00
James Tanner
6b5ad394da Add template deployer 2016-08-01 18:55:22 -04:00
Brian Coca
1a74d68a37 updated docs, version is 2.2 and explain changes 2016-07-29 22:32:13 -04:00
Jonathan Davila
ccec9b1645 Updates to Sendgrid Module (#1275) 2016-07-29 22:17:56 -04:00
Ryan Brown
84298ab5ce Improve module docs (#2638) 2016-07-29 12:31:55 -04:00
Matt Clay
baaaf7f96f Enable Windows tests on Shippable. (#2635) 2016-07-28 23:12:32 -07:00
Adrian Likins
f4e34d5c3a Add RETURN docs for github_key (#2634) 2016-07-28 17:44:04 -04:00
Adrian Likins
28bb69bd41 Use %s string formatting in system/timezone.py (#2632)
This module was using python 2.6 string .format().
To enable the module to run on python2.4, replace
the .format formatting with '%s' based string formatting.

There was also a use of a 'filename' variable in the
NosystemdTimezone.get() method that was never set.

An import of 'os' was also added for clarity.
2016-07-28 17:02:00 -04:00
Adrian Likins
41a0f22fe8 Add a 'requirements:' field to homebrew doc (#2630)
homebrew.py and homebrew_cask.py make use of python
2.5 and 2.6 features like string .format() method.
2016-07-28 17:00:41 -04:00
Adrian Likins
9006c8018d Use py2.4 compat string formatting in github_key (#2633)
Replace the use of python 2.6+ string .format() method
use with the python 2.4 compatible '%s' formatting to
make the github_key module py2.4 compatible.
2016-07-28 16:59:22 -04:00
Ryan Brown
d72a394f0b Merge pull request #2126 from bcoca/s3_bucket_fix_json_plus
Refactor of `s3_bucket` to support json/jsonarg param type
2016-07-28 16:37:07 -04:00
Ryan S. Brown
a69aa60081 Correct version_added for github_key module - was 2.0, now 2.2 2016-07-28 16:01:08 -04:00
Brian Coca
f6841eb51f send json string to api instead of dict 2016-07-28 15:19:14 -04:00
Robert Estelle
c46eb7d64b New module - github_key (#692)
Create github_key module for managing GitHub keys.
This module creates, removes, or updates GitHub access keys.
2016-07-28 13:12:05 -04:00
William Albert
9fda16070f Add modules to support Google Cloud DNS (#2252)
This commit adds modules that can manipulate Google Cloud DNS. The modules can create and delete zones, as well as records within zones.
2016-07-28 12:56:35 -04:00
Anton Ovchinnikov
fc417a5ab0 Fix check mode for blockinfile when 'create: yes' is specified (#2413)
Make the module more semantically similar to lineinfile when
the destination does not exist. This fixes #2021.
2016-07-28 12:12:14 -04:00
Ruslan Kiianchuk
cd2dbed79c Add support for reiserfs (#2551)
* Add support for reiserfs

Create commands mapping for Reiserfs tools.
2016-07-28 11:52:32 -04:00
Aaron Brady
3533ae2647 Add active and inactive states to the lvol module (#1974)
* Add `active` and `inactive` states to the lvol module

* Honor the previous state of the changed variable

* Move active/inactive states to active boolean parameter

* Bump version_added to make Travis happy

* Avoid bailing early is size isn't specified

* Add invocation examples

* Move "no size" up for code clarity
2016-07-28 11:31:51 -04:00
Tim Rupp
be367cc2de Bugfixes and code style (#2627)
A number of coding conventions have been adopted for new F5 modules
that are in development. To ensure common usage across the modules,
this module needed to be updated to reflect those conventions.

Additionally, this patch fixes a couple bugs in the module that were
preventing it from being idempotent.
2016-07-28 11:05:40 -04:00
Toshio Kuratomi
c8f911e05c Update imports 2016-07-27 15:51:25 -07:00
Toshio Kuratomi
c6938e42ef Update examples in the documentation to yaml syntax 2016-07-27 15:51:25 -07:00
pascalheraud
39f36103d7 Fixed multiline string formatting issues 2016-07-27 15:51:25 -07:00
pascalheraud
9058f1fb76 Changed order of import and documentation to fix the build 2016-07-27 15:51:25 -07:00
pascalheraud
b9a7fbbf41 Fixed RETURN documentation 2016-07-27 15:51:25 -07:00
pascalheraud
91d7f1b34d Update ovh_ip_loadbalancing_backend.py
Changed to ansible 2.1
2016-07-27 15:51:25 -07:00
pascalheraud
a28287d0b4 Update ovh_ip_loadbalancing_backend.py
Fixed documentation from "ip" to "backend" and enhanced text.
2016-07-27 15:51:25 -07:00
pascalheraud
13b164791e Update ovh_ip_loadbalancing_backend.py 2016-07-27 15:51:25 -07:00
pascalheraud
6b91834d9f Changed licence and main() 2016-07-27 15:51:25 -07:00
pascalheraud
40b78fbf72 Fixed bad location and import
Fixed bad type of default value for timeout
2016-07-27 15:51:25 -07:00
pascalheraud
7c9fdba5ad Fixed the module to be compliant with pep8 2016-07-27 15:51:25 -07:00
pascalheraud
1972df5a71 Removed unnecessary moduleChanged=False
Added missing exceptions handling
2016-07-27 15:51:25 -07:00
pascalheraud
f7a5013083 Added a timeout param to prevent infinite loop while waiting for
completion of a task.
2016-07-27 15:51:25 -07:00