Commit graph

2238 commits

Author SHA1 Message Date
Allen Sanabria
123c70546e clean up documentation 2016-08-04 13:00:35 -07:00
Allen Sanabria
ab62c644bc updated catch statement to pass test (as e) 2016-08-03 12:38:05 -07:00
Allen Sanabria
8af1063785 Make sure to catch if no gateways exist 2016-08-03 12:38:05 -07:00
Allen Sanabria
4e8e38f631 remove boto 2016-08-03 12:38:05 -07:00
Allen Sanabria
2e42c72447 version bump 2016-08-03 12:38:05 -07:00
Allen Sanabria
79ea553200 Module requires boto due to ec2.py 2016-08-03 12:38:05 -07:00
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
Filipe Niero Felisbino
e2e697c3ff Fix attachment issue ( thanks @gunzy83 ) 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
753ddf87ac Change attached parameter default to None 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
c81e88856a Add "version_added" to attached attribute 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
3099b607c1 Add attached parameter to ec2_eni module 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
8461524904 Add RETURN docs 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
178caff2ed Fix docs 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
27c4beb19d Fix the AMI creation/modification logic thus making it idempotent 2016-08-03 10:10:53 -03: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
James Tanner
6b5ad394da Add template deployer 2016-08-01 18:55: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
Brian Coca
f6841eb51f send json string to api instead of dict 2016-07-28 15:19:14 -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
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
pascalheraud
37900daf79 Fixed module from review inputs :
- Caught the exception from import ovh to provide a proper message to
the user
- Removed unuseful brackets
- Added a else to check the state instead of two if
- Changed the module to be added to 2.0
- Added exceptions handling for all APIs calls with a clear message
including the return from the API.

And : 
- Fixed dependency of OVH api to 0.3.5
2016-07-27 15:51:25 -07:00
pascalheraud
a767da1139 Added OVH Ip loadbalancing module for managing backends 2016-07-27 15:51:25 -07:00
Ricardo Carrillo Cruz
8ad0c52a82 Add os_zone module (#2173)
This module allows to create OpenStack Designate zone objects
2016-07-27 18:27:20 -04:00
Ricardo Carrillo Cruz
866b04784d Add os_recordset module (#2240)
This module allows to manage OpenStack Designate recordsets.
2016-07-27 18:27:05 -04:00
Brian Coca
6402d36af3 now using type=json which takes care of str/dict 2016-07-27 11:39:09 -04:00
Brian Coca
df79ca6352 fixes and refactoring of s3_bucket
policy should now accept and handle correctly both data structures or JSON strings
removed unused tag_set var
refactored code to make conditions clearer
rebased to allow for ceph changes, left ceph update on todo list
2016-07-27 11:39:09 -04:00
Kaz Cheng
db979dde74 Fix a number of issues around detecting nat gateways, how (#1511)
routes_to_delete is detected, propagating_vgw_ids and checking if
gateway_id exists.
2016-07-25 21:48:27 +02:00
Alvaro Aleman
b02a24ffed Ensure os_project checks the right domain (#2519) 2016-07-25 14:05:58 -04:00
Matt Clay
651a25f1a3 Remove duplicate requirements. 2016-07-21 13:04:15 -04:00
Alvaro Aleman
7bc7f9f078 Make os_user_role respect domain when querying for projects (#2520) 2016-07-21 11:40:57 -04:00
lorijoan
38d364103d Update cs_volume module to fix typo on force attribute (#2592)
fixes #2590
2016-07-20 13:57:35 +02:00
Allen Sanabria
e9f7fb0927 Now when number of shards is different than what is the stream currently, it will fail.\n\nShards can not be changed on an already created stream 2016-07-14 16:57:47 -07:00
Allen Sanabria
8a17506058 version bump 2016-07-14 13:46:57 -07:00
Allen Sanabria
7cacd7dd2a Module requires boto due to ec2.py 2016-07-14 13:46:57 -07:00
Allen Sanabria
72988aab14 updated module to accept check_mode in every boto call 2016-07-14 13:46:57 -07:00
Allen Sanabria
8c1277a8b7 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-07-14 13:46:57 -07:00
Allen Sanabria
988f468457 Added test to kinesis_stream module.
* Update kinesis_stream based on tests.
* Added tests for kinesis_stream.
2016-07-14 13:46:57 -07:00
Allen Sanabria
514e285d1a update doc string 2016-07-14 13:46:57 -07:00
Allen Sanabria
4e1c3a58b3 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-07-14 13:46:57 -07:00
Ryan S. Brown
1a7d26a1b8 iam_server_certificate_facts: Correct call to get_server_certs 2016-07-14 16:24:51 -04:00
Allen Sanabria
f36ec115fc iam_server_certificate_facts: list all certs
If a server name isn't passed, retrieve all server certificates by
default. Change return value to a dict with the server_cert_name being
the key.
2016-07-14 16:23:49 -04:00
Allen Sanabria
4615a6cc76 iam_server_certificate_facts: change except to python 2.6 syntax 2016-07-14 16:22:40 -04:00
Allen Sanabria
c574dbee54 iam_server_certificate_facts: Retrieve attributes from server certificate
This module will allow you to retrieve all the attributes
related to a server certificate.
2016-07-14 16:22:21 -04:00
mathieu bultel
c6a45234e0 Add os_stack module for create, update and delete stack (#2002)
* Add os_stack module for create and delete stack

* Add ansible module for creating and deleting heat stack
* Parameters:
  - stack name
  - template
  - environment_files (list)
  - parameters (dict)
  - timeout
  - rollback
  - state: In a near futur I would like to improve
    this module by providing a way updating the stack
    if already exist. Shade doesn't offer this functionality
    AFAIK

* Add update stack feature

* Update added_version and return doc

* Add copyright for os_stack module

* Add wait user choice and minor fixes

* Remove Todo for Shade 1.8.0 and bad line example

* Add documentation for the return values

* Fix type on return value

* Fix yaml syntax

* Cast message to string instead

* add missing check mode
2016-07-11 13:36:00 -04:00
René Moser
a99464f545 Merge pull request #2208 from hnakamur/lxd_container
Add lxd_container module
2016-07-09 10:41:25 +02:00
Rene Moser
5a3dc054bd doc: remove common return values from various modules 2016-07-08 10:54:31 +02:00
John Kerkstra
d5ebe033e3 ec2_vpc_route_table: fixes: #2377 (#2421)
fixed fatal error when propagating_vgw_ids is None
2016-07-08 00:43:12 +02:00
Andreas Nafpliotis
47b9ede3be New module: vmware_local_users_manager (#2447)
* Add files via upload

* Add files via upload

* Fixed build errors

* Fixed some identation errors

* Documentation corrections

* Documentation updates
2016-07-08 00:39:59 +02:00
nitzmahone
8502d2595a fix azure_rm_deployment for rc5 2016-07-07 10:56:57 -07:00
Hiroaki Nakamura
c320caf285 Fix lxd_container and lxd_profile document to be rendered properly 2016-07-07 00:34:51 +09:00
Hiroaki Nakamura
afbaffa1c5 Change command to check python is installed 2016-07-05 21:37:41 +09:00
Hiroaki Nakamura
dcee274ebb Fix initializing err in _get_err_from_resp_json 2016-07-05 21:34:27 +09:00
camradal
5588cc9c02 Add configuration options to VMWare portgroup (#2390)
* Add configuration options to VMWare portgroup

* Add version_added to newly added vmware portgroup params

* Update vmware_porgroup to use network_policy node for settings

* Update documentation for vmware_porgroup network policy
2016-07-03 10:49:42 +02:00
Abhijit Menon-Sen
dcb1ab6bed Merge pull request #1509 from hslee16/devel
adding public ip address to ec2_remote_facts
2016-07-02 15:02:23 +05:30
Hiroaki Nakamura
0140e50d55 Remove debug parameter and add logs in return object when invoked with -vvvv 2016-07-01 23:23:14 +09:00
Constantin
602915c264 Documented returned structure. (#2510) 2016-07-01 10:56:03 +02:00
Hiroaki Nakamura
0b55ce4cc3 Fix sending request 2016-07-01 01:32:47 +09:00
Hiroaki Nakamura
7662401f45 Remove support for type=profile from lxd_container module 2016-07-01 00:42:50 +09:00
Hiroaki Nakamura
f3ec45d270 Add lxd_profile module 2016-07-01 00:28:21 +09:00
Hiroaki Nakamura
7d930930e8 Create LXDClient and LXDClientException 2016-07-01 00:03:46 +09:00
Hiroaki Nakamura
8ba41ee6a2 Unify unix_socket_path and url to the url parameter 2016-06-30 22:36:58 +09:00
Hiroaki Nakamura
cc8b54d3cc Use metadata.err for error msg and return logs only when debug is true 2016-06-30 21:42:05 +09:00
Hiroaki Nakamura
308e0984f7 Add debug parameetr and put logs in result when debug is true or module failed 2016-06-30 21:14:48 +09:00
Hiroaki Nakamura
5dc0b934eb Use timeout only for chaging state and getting IPv4 addresses 2016-06-30 21:02:16 +09:00
Shane Koster
9231241c8b Pass the lxc_path when checking if container exists (#2457)
fixes #887
2016-06-30 07:17:49 +02:00
Stephen Granger
2490f87522 Included an example using the jinja 2 map function to return a list of (#2458)
subnet_ids.
2016-06-30 07:16:05 +02:00
Hiroaki Nakamura
eb7488854b Check argument choices according to type value 2016-06-30 01:59:37 +09:00
Hiroaki Nakamura
61020a87dd Add support for connecting via https with a client certificate 2016-06-30 01:03:21 +09:00
jpic
3afe1dcef5 s/_needs_to_change_config/_needs_to_change_container_config/ 2016-06-29 15:00:53 +02:00
Hiroaki Nakamura
c82cfe8d28 Support for creating, modifying, renaming and deleting a profile 2016-06-29 00:24:56 +09:00
Hiroaki Nakamura
fd9a6a7f26 Fix invalid YAML in document 2016-06-28 23:02:08 +09:00
Hiroaki Nakamura
f46d3086d6 Split config parameter to config, devices, profiles, source et al 2016-06-28 22:52:40 +09:00
jpic
7ba6915b49 Can't use super on old style classes 2016-06-28 12:38:40 +02:00
Brad Davidson
8319d935ca New module ec2_vpc_nacl_facts 2016-06-27 12:36:33 -07:00
Ryan Brown
ac8e3f18a3 Merge pull request #1599 from jmunhoz/s3-bucket-ceph
Add Ceph RGW S3 compatibility
2016-06-27 13:14:07 -04:00
jpic
f68c1a1071 Refactor 2016-06-27 13:35:19 +02:00
Hiroaki Nakamura
3046332031 Expand tab with 8 spaces 2016-06-26 09:20:49 +09:00
Hiroaki Nakamura
e4d02a6a91 No meaningful change just to trigger Travis 2016-06-26 09:15:06 +09:00