Commit graph

27121 commits

Author SHA1 Message Date
Allen Sanabria
88c08efacd Module requires boto due to ec2.py 2016-12-08 11:34:39 -05:00
Allen Sanabria
fd810d16bf Removed Ansible API based tests from this PR 2016-12-08 11:34:39 -05:00
Allen Sanabria
c6fdb7ceda Including unit tests.
* Including unit tests as per https://groups.google.com/forum/#!topic/ansible-devel/ejY4CjKeC34
* This test suite is automatically run in https://github.com/linuxdynasty/ld-ansible-modules
2016-12-08 11:34:39 -05:00
Allen Sanabria
b336c5a606 updated module to accept check_mode in every boto call 2016-12-08 11:34:39 -05:00
Allen Sanabria
2f5992c70f Removed test as they will not be ran by Ansible.
* I will include tests in my personal repo which will contain all
modules written by me with their associated tests.
2016-12-08 11:34:39 -05:00
Allen Sanabria
133b5ccdde Added test to kinesis_stream module.
* Update kinesis_stream based on tests.
* Added tests for kinesis_stream.
2016-12-08 11:34:39 -05:00
Allen Sanabria
24fb52c83b update doc string 2016-12-08 11:34:39 -05:00
Allen Sanabria
649e6f42b7 Create, Delete, and Modify a Kinesis Stream.
* Create a Kinesis Stream.
* Tag a Kinesis Stream.
* Update the Retention Period of a Kinesis Stream.
* Delete a Kinesis Stream.
* Wait for a Kinesis Stream to be in an ACTIVE State.
2016-12-08 11:34:39 -05:00
Brian Coca
7691af8ce6 added unsafe_writes to blockinfile (#2701)
depends on  http://github.com/ansible/ansible/issues/17016
2016-12-08 11:34:39 -05:00
Matt Martz
ed832c89f4 If rc is null, assume that a timeout happened. Fixes #2484 (#2485) 2016-12-08 11:34:39 -05:00
Dagobert Michelsen
87be961c1d Do not return failure when the package is installed and nothing is done (#1852) 2016-12-08 11:34:39 -05:00
Tim Rupp
a367a9ac01 Adds style conventions for bigip_node (#2697)
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.

No functional code changes were made.
2016-12-08 11:34:39 -05:00
Adam Števko
081e6ec032 Add support for managing OpenZFS pools (#2642) 2016-12-08 11:34:39 -05:00
Dan Keder
2bfbfbb3ff seport: fix a bug when SELinux port definition was already there (#2009) (#2694) 2016-12-08 11:34:39 -05:00
René Moser
a4427d55c3 apk: fix LANG != C while parsing stdout (#2689) 2016-12-08 11:34:38 -05:00
Kevin Brebanov
cf87e1d9b2 apk: Add support for updating virtual packages (#2686)
Fixes: #2389
2016-12-08 11:34:38 -05:00
Manuel Sousa
4289354ce5 RabbitMQ-Binding - Allow empty routing key (#2674)
Fixes: #1985
2016-12-08 11:34:38 -05:00
ovcharenko
bdf1a087cb Bug report: ufw: interface option causes an error (1.9.4) (#1491) (#2668) 2016-12-08 11:34:38 -05:00
trondhindenes
20844c1ef6 updated documentation for win_package (#2677) 2016-12-08 11:34:38 -05:00
Brian Coca
edcac217f5 make sure nic is always defined (#2678) 2016-12-08 11:34:38 -05:00
Matt Clay
38d1cce5d1 Use open_url directly to avoid failing tests. (#2680) 2016-12-08 11:34:38 -05:00
Indrajit Raychaudhuri
93fd941c66 List homebrew options aliases in documentation (#2671) 2016-12-08 11:34:38 -05:00
Indrajit Raychaudhuri
f901e215ad List pacman options aliases in documentation (#2670) 2016-12-08 11:34:38 -05:00
Linus Unnebäck
705f54ac18 iptables: remove duplicated documentation (#2673)
Fixes #1527
2016-12-08 11:34:38 -05:00
Allen Sanabria
dd63eb7a7a fixed error message for releasing an ip when not waiting for the nat gateway to delete successfully 1st 2016-12-08 11:34:38 -05:00
Allen Sanabria
ba17bdf1d0 fail_json when error and not exit_json 2016-12-08 11:34:38 -05:00
Allen Sanabria
38349f226a updated tests to reflect dict vs list 2016-12-08 11:34:38 -05:00
Allen Sanabria
1ddfa76c12 clean up documentation 2016-12-08 11:34:38 -05:00
Allen Sanabria
5a6f875487 updated catch statement to pass test (as e) 2016-12-08 11:34:38 -05:00
Allen Sanabria
cca24b0eac Make sure to catch if no gateways exist 2016-12-08 11:34:38 -05:00
Allen Sanabria
015cf1f785 Added default result of None in catch statement 2016-12-08 11:34:37 -05:00
Allen Sanabria
43da26404b Updated module to be compliant with test cases.
* Added integration tests
* Added unit tests
2016-12-08 11:34:37 -05:00
Allen Sanabria
ec2b499959 Fixed the missing argument to get_eip_allocation_id_by_address 2016-12-08 11:34:37 -05:00
Allen Sanabria
0d7d778c82 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-12-08 11:34:37 -05:00
Serge van Ginderachter
c1fd6c6388 return a proper result set for getmaster/getslave (#2595)
* return a proper result set for getmaster/getslave

when not on a master/slave.
This allows for a cleaner error handling.

* A more uniform return of result keys for getmaster/slave
2016-12-08 11:34:37 -05:00
Serge van Ginderachter
121ef13e47 Exception handling for MySQLdb warnings (#2594)
Do not fail the module for warnings.
Return warnings in the module result set.

Fixes #719
Alternative to #720 and as discuseed over there.
2016-12-08 11:34:37 -05:00
Thierno IB. BARRY
4fc6fc438a Add kibana_plugin module (#2621)
* kibana_plugin: add the kibana_plugin module

* kibana_plugin: update doc

* kibana_plugin: add check mode and fix few coding style issues

* kibana_plugin: use return instead conditional statement for check mode
2016-12-08 11:34:37 -05:00
Jeff Wozniak
9d0eecc873 Add logicmonitor and logicmonitor_facts modules 2016-12-08 11:34:37 -05:00
Ben Doherty
0380006e00 expanduser() on dest 2016-12-08 11:34:37 -05:00
Ben Doherty
51ab6cdc0d Refactor computation of archive filenames, clearer archive filename 2016-12-08 11:34:37 -05:00
Ben Doherty
87c8a21d16 Don't try to walk over files when building archive 2016-12-08 11:34:37 -05:00
Ben Doherty
42112060b5 Rename 'archive' -> 'arcfile' in compress branch 2016-12-08 11:34:37 -05:00
Ben Doherty
b0211c72d7 Change 'creates' parameter to 'dest' 2016-12-08 11:34:37 -05:00
Ben Doherty
fb03fc8eb1 Refactor zip and tarfile loops together, branch where calls are different
This fixed a few bugs and simplified the code
2016-12-08 11:34:37 -05:00
Benjamin Doherty
8fc2a22b4c Add 'default' to docs for 'compression' option 2016-12-08 11:34:37 -05:00
Ben Doherty
102ee6a3b4 Some refactoring:
* rename archive -> arcfile (where it's a file descriptor)
* additional return
* simplify logic around 'archive?' flag
* maintain os separator after arcroot
* use function instead of lambda for filter, ensure file exists before file.cmp'ing it
* track errored files and fail if there are any
2016-12-08 11:34:36 -05:00
Ben Doherty
d4b51adf72 Reword comments slightly 2016-12-08 11:34:36 -05:00
Ben Doherty
e10e1e358c Documentation updates 2016-12-08 11:34:36 -05:00
Ben Doherty
506f3f68f1 Use different syntax in lambda 2016-12-08 11:34:36 -05:00
Ben Doherty
c9291e06f6 Make remove default to false. It's less frightening. 2016-12-08 11:34:36 -05:00