Commit Graph

2192 Commits (6a7947db9f5f9ed4be7de413f4430cb6ca7d8d55)

Author SHA1 Message Date
Brian Coca 6402d36af3 now using type=json which takes care of str/dict 8 years ago
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
8 years ago
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.
8 years ago
Alvaro Aleman b02a24ffed Ensure os_project checks the right domain (#2519) 8 years ago
Matt Clay 651a25f1a3 Remove duplicate requirements. 8 years ago
Alvaro Aleman 7bc7f9f078 Make os_user_role respect domain when querying for projects (#2520) 8 years ago
lorijoan 38d364103d Update cs_volume module to fix typo on force attribute (#2592)
fixes #2590
8 years ago
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 8 years ago
Allen Sanabria 8a17506058 version bump 8 years ago
Allen Sanabria 7cacd7dd2a Module requires boto due to ec2.py 8 years ago
Allen Sanabria 72988aab14 updated module to accept check_mode in every boto call 8 years ago
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.
8 years ago
Allen Sanabria 988f468457 Added test to kinesis_stream module.
* Update kinesis_stream based on tests.
* Added tests for kinesis_stream.
8 years ago
Allen Sanabria 514e285d1a update doc string 8 years ago
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.
8 years ago
Ryan S. Brown 1a7d26a1b8 iam_server_certificate_facts: Correct call to `get_server_certs` 8 years ago
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.
8 years ago
Allen Sanabria 4615a6cc76 iam_server_certificate_facts: change `except` to python 2.6 syntax 8 years ago
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.
8 years ago
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
9 years ago
René Moser a99464f545 Merge pull request #2208 from hnakamur/lxd_container
Add lxd_container module
9 years ago
Rene Moser 5a3dc054bd doc: remove common return values from various modules 9 years ago
John Kerkstra d5ebe033e3 ec2_vpc_route_table: fixes: #2377 (#2421)
fixed fatal error when propagating_vgw_ids is None
9 years ago
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
9 years ago
nitzmahone 8502d2595a fix azure_rm_deployment for rc5 9 years ago
Hiroaki Nakamura c320caf285 Fix lxd_container and lxd_profile document to be rendered properly 9 years ago
Hiroaki Nakamura afbaffa1c5 Change command to check python is installed 9 years ago
Hiroaki Nakamura dcee274ebb Fix initializing err in _get_err_from_resp_json 9 years ago
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
9 years ago
Abhijit Menon-Sen dcb1ab6bed Merge pull request #1509 from hslee16/devel
adding public ip address to ec2_remote_facts
9 years ago
Hiroaki Nakamura 0140e50d55 Remove debug parameter and add logs in return object when invoked with -vvvv 9 years ago
Constantin 602915c264 Documented returned structure. (#2510) 9 years ago
Hiroaki Nakamura 0b55ce4cc3 Fix sending request 9 years ago
Hiroaki Nakamura 7662401f45 Remove support for type=profile from lxd_container module 9 years ago
Hiroaki Nakamura f3ec45d270 Add lxd_profile module 9 years ago
Hiroaki Nakamura 7d930930e8 Create LXDClient and LXDClientException 9 years ago
Hiroaki Nakamura 8ba41ee6a2 Unify unix_socket_path and url to the url parameter 9 years ago
Hiroaki Nakamura cc8b54d3cc Use metadata.err for error msg and return logs only when debug is true 9 years ago
Hiroaki Nakamura 308e0984f7 Add debug parameetr and put logs in result when debug is true or module failed 9 years ago
Hiroaki Nakamura 5dc0b934eb Use timeout only for chaging state and getting IPv4 addresses 9 years ago
Shane Koster 9231241c8b Pass the lxc_path when checking if container exists (#2457)
fixes #887
9 years ago
Stephen Granger 2490f87522 Included an example using the jinja 2 map function to return a list of (#2458)
subnet_ids.
9 years ago
Hiroaki Nakamura eb7488854b Check argument choices according to type value 9 years ago
Hiroaki Nakamura 61020a87dd Add support for connecting via https with a client certificate 9 years ago
jpic 3afe1dcef5 s/_needs_to_change_config/_needs_to_change_container_config/ 9 years ago
Hiroaki Nakamura c82cfe8d28 Support for creating, modifying, renaming and deleting a profile 9 years ago
Hiroaki Nakamura fd9a6a7f26 Fix invalid YAML in document 9 years ago
Hiroaki Nakamura f46d3086d6 Split config parameter to config, devices, profiles, source et al 9 years ago
jpic 7ba6915b49 Can't use super on old style classes 9 years ago
Brad Davidson 8319d935ca New module ec2_vpc_nacl_facts 9 years ago
Ryan Brown ac8e3f18a3 Merge pull request #1599 from jmunhoz/s3-bucket-ceph
Add Ceph RGW S3 compatibility
9 years ago
jpic f68c1a1071 Refactor 9 years ago
Hiroaki Nakamura 3046332031 Expand tab with 8 spaces 9 years ago
Hiroaki Nakamura e4d02a6a91 No meaningful change just to trigger Travis 9 years ago
Hiroaki Nakamura 6d0a3d7227 Remove sample of logs in returned object 9 years ago
Hiroaki Nakamura 2ee5c04335 Use httplib instead of requests_unixsocket 9 years ago
Hiroaki Nakamura 82302e80d4 Add documentation about logs in returned object 9 years ago
Hiroaki Nakamura cf6e3b9ea8 Fix bug in comparing config 9 years ago
Hiroaki Nakamura f78e6f49e8 Apply config to the existing container 9 years ago
Hiroaki Nakamura f786a3e113 Remove dependency to pylxd and use requests_unixsocket directly 9 years ago
Hiroaki Nakamura 05700edc0b Update document about copying files to containers 9 years ago
jpic d2fa7c75da Remove example from notes, syntax fix 9 years ago
Hiroaki Nakamura 5da4699f83 Document about copying files and using an remote image 9 years ago
Hiroaki Nakamura 53f482308d Present clearer messages for connection error 9 years ago
Hiroaki Nakamura 9a8d1253fa Fix examples 9 years ago
Hiroaki Nakamura 95f5a3550a Simplify requirements 9 years ago
Hiroaki Nakamura ed47f57598 Fix English in documentation 9 years ago
Hiroaki Nakamura 3e8fa8ef82 Fix indent 9 years ago
Hiroaki Nakamura f72b0288c0 Fix RETURN document to be a valid yaml 9 years ago
Hiroaki Nakamura 5e10ca5c3d Add __init__.py to cloud/lxd 9 years ago
Hiroaki Nakamura 76f4a1c5d8 Add lxd_container module 9 years ago
nitzmahone 709114d55f fix ec2_vpc_vgw exception handling issues 9 years ago
James Cammarata d5a3f5ec5f Merge pull request #1709 from naslanidis/new_aws_module_ec2_vpc_vgw
New aws module for ec2 vpc virtual gateways
9 years ago
Stefan Horning 1da89cd5a1 Get EIP association information for ENI if EIP is associated (#2082) 9 years ago
René Moser 0daedc05f5 cloudstack: cs_volume: fix volume may be NoneType in check_mode (#2455) 9 years ago
Javier M. Mellid 2c1530b647 Imports should be near the top of the file
Prior to 2.1, imports of module_utils was actually a preprocessor-like
substitution. So importing at the bottom helped preserve line numbers when
debugging. We'll be moving these to the top of files as time goes on.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years ago
Javier M. Mellid 78b4829623 Adapt exception syntax to work under python3 in s3_bucket.py
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years ago
Javier M. Mellid a87b2e38a0 Add Ceph RGW S3 compatibility
Ceph Object Gateway (Ceph RGW) is an object storage interface built on top of
librados to provide applications with a RESTful gateway to Ceph Storage
Clusters:

http://docs.ceph.com/docs/master/radosgw/

This patch adds the required bits to handle buckets with the RGW S3 RESTful API
properly.

It sticks to the AWS behaviour where possible while avoiding not yet
implemented features in the Ceph RGW API.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years ago
Baptiste Mille-Mathias 6cb6829384 Implement mounts in proxmox module (#2426)
* Implement mounts in proxmox module

mounts in proxmox are the additionnal disk devices set in a guests.
We handle the mounts the same way that netif devices, using a
dictionnary with keys being mp0, mp1,…

* Add version_added

Seems to be a requirement but I didn't see that anywhere.
Hope it'll fix the travis-ci issue
9 years ago
Rob 65fe9eb2b0 Add boto3 support to ec2_eni_facts (#2425) 9 years ago
Bede Carroll 1e405bb472 Add vMotion Module (#2342) 9 years ago
Constantin 062c7607a4 Added block_device_mapping in the returned output (#1553) 9 years ago
René Moser e596ad9294 Merge pull request #2388 from resmo/for-ansible-2.2
[2.2] cloudstack related changes for Ansible 2.2
9 years ago
sxpert a82e991453 Virt net mods batch 1 (#1686)
* add a new modify command

for now, allows adding or modifying hosts in the dhcp subsystem

* fix some pep8 things that escaped

* add modify in the list in the doc

* added mention of adding modify in version 2.1

* handle the test mode case for modify

* modify the code for finer check mode support
9 years ago
Rene Moser 206cfb3125 cloudstack: move duplicate common code to utils 9 years ago
Rene Moser 00fe782722 cloudstack: cs_staticnat: fix static nat was always changed (disabled/enabled)
Fixes firewall rules get lost after use of cs_staticnat.
9 years ago
Rene Moser aef2da2401 cloudstack: use has_changed() from utils 9 years ago
Rene Moser 8a235e4e53 cloudstack: use poll_job() from utils 9 years ago
Rene Moser c693be53f5 cloudstack: cs_cluster: overhaul code style 9 years ago
Rene Moser a3f57a8cf4 cloudstack: cs_affinitygroup: overhaul code style 9 years ago
Rene Moser 122beec048 cloudstack: cs_account: overhaul code style 9 years ago
Rene Moser efcfe21732 cloudstack: remove duplicate import cs handling, already in utils. 9 years ago
Rene Moser ff29da944e cloudstack: cs_project: fix state=active/suspended does not create/update project 9 years ago
Rob 0e9a820628 Use helper function for new module and rename (#2277) 9 years ago
Alex Lee 9391103f01 correcting spelling mistake 9 years ago
Alex Lee 62d7ded9ba adding public ip address 9 years ago
David Shrewsbury 1f1e15ae00 Merge pull request #1784 from SamYaple/devel
Create OpenStack identity services module
9 years ago
Rene Moser 6fd21ae67c cloudstack: cs_project: add tag support 9 years ago
nitzmahone 6ee1cfc5cf remove duplicate deployment_mode docstring
submodule ref wasn't updated, so missed that this had recently been added
9 years ago
SamYaple 9bbcc09a14 Create OpenStack identity services module
New module using shade to create and manage OpenStack identity
services
9 years ago