Commit Graph

2155 Commits (6b5ad394dad1cf4a5c23eed3eb14ef4fbed595e3)

Author SHA1 Message Date
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
nitzmahone a0bd87f04e various fixes to azure_rm_deployment
bugfix for lost results on incomplete poll (sub-optimal, but works)
add docs for undocumented module args (will temporarily break module validator)
9 years ago
Laurent Mazuel 4b4a8025e1 Adapt Code to Azure SDK 2.0.0RC4 (#2319) 9 years ago
René Moser 46df503964 cloudstack: cs_snapshot_policy: remove unused arg specs and doc cleanup (#2361) 9 years ago
Nicolas Boutet 473e5d7969 Fix typo in documentation (#2359) 9 years ago
trondhindenes 3d6da37864 azure_rm_deploy docfix (#2354) 9 years ago
Stefan Horning 8e20fcfafe Streamlined ec2_elb_facts module return values with naming in ec2_elb… (#2081)
* Streamlined ec2_elb_facts module return values with naming in ec2_elb_lb (hosted zones)

* Keep the old return values for hosted zone to keep backwards compatibility
9 years ago
René Moser 57e1497fcf cloudstack: cs_ip_address: add vpc support (#2283)
* cloudstack: cs_ip_address: add vpc support

* cloudstack: cs_ip_address: remove unused/unreachable code
9 years ago
René Moser abe406f074 cloudstack: cs_staticnat: add vpc support (#2285)
* cloudstack: cs_staticnat: add network arg, used for VPC support

* cloudstack: cs_staticnat: removed unused code
9 years ago
René Moser 039005bfaa cloudstack: cs_firewall: get_network moved to utils, cleanup (#2293) 9 years ago
René Moser 5a7a9a0a30 cloudstack: cs_template: fix typos (#2294) 9 years ago
René Moser 53ffd5f82b cloudstack: new module cs_snapshot_policy (#2303) 9 years ago
Toshio Kuratomi 5b2bf6f08a Fix python3 syntax compilation 9 years ago
Mike Mochan 698d2a55c5 update remote tags if changed 9 years ago
Mike Mochan cab7437e32 added tagging for the remote account 9 years ago
Mike Mochan 9a303f1628 Updates to version and requirements 9 years ago
Mike Mochan 2934495efc Added tagging functionality 9 years ago
Mike Mochan a58a12fc1f All calls to describe_vpc_peering_connections need to use the params dict 9 years ago
Mike Mochan 8ab4963e78 Remove unused vars and pass params dict to describe_peering_connections 9 years ago
Mike Mochan 2291fc00d2 update to capture peer status 9 years ago
Mike Mochan 2392395a47 removed obsolete ec2 resource object 9 years ago
Mike Mochan 10ce4d8b88 refactored to use dict invocation for calling client peerings functions 9 years ago
Mike Mochan f6c7bdf9c5 updates to Documentation - Removed refs to Boto, added params dict() and removed obsolete if statements 9 years ago
Mike Mochan 34ae687ae3 cloud/amazon/ec2_vpc_peer.py 9 years ago
Mike Mochan f84af48733 removed debug package 9 years ago
Mike Mochan 92dea03181 Version added, GPLv3 License header added 9 years ago
Mike Mochan 400484f69f Initial commit for cross account VPC peering module 9 years ago
Toshio Kuratomi 342af8b249 Add __init__.py and update version_added to fix module for ansible-validate checks 9 years ago
Fernando José Pando 0d8eefe197 fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
9 years ago
Mike Mochan 6d52d84af7 New AWS module for managing VPC Network ACLs (#1502)
* New AWS module for managing VPC Networks ACLs

Moved return  outside of try block

botocore.exceptions to support python 2.5

For some reason Travis is using Python V2.4 to run the tests - My code is valid

duplicate file

* Fixed NameError Exception- module not being passed when calling some boto3 client methods

* Fixes a bug reported by @dennisconrad, where the nacl is not created when subnets list is empty

* nacl property changed to name and fixes a bug where nacl is not deleted when subnets list is empty

* Updates to version and requirements

* Fix 'vpc' param to 'vpc_id' to match documentation and convention
9 years ago
Ryan Sydnor 0ba34435cf Add encryption capability to AMI copy (#1409) 9 years ago
Brian Coca eb6ba749c2 added return docs 9 years ago
Adam Števko 0d54d1ffe4 Add module for retrieving SmartOS image facts (#1276) 9 years ago
Rob b9ab1f9f5c Add section on how to return boto3 CamelCased results (#2279) 9 years ago
Mariano Lasala 3d54bdd4e1 Update sl_vm.py (#2267)
There was a mistype in DATACENTER list with 'lon2', changed to 'lon02'.
9 years ago
René Moser cdffb36642 softlayer: fix module name in doc (#2266) 9 years ago
Rob 8fb8ec2e98 Add idempotence to ec2_eni when private_ip_address is supplied (#2172) 9 years ago
Victor Costan 76dee3d872 Add sts_session_token module for short-lived AWS credentials. (#1988) 9 years ago