Commit Graph

1398 Commits (45db08bb3aaf970e2a27785a1fd467ad336d3126)

Author SHA1 Message Date
Greg DeKoenigsberg 9de82d186a Merge pull request #654 from loia/feature/aws_dynamodb
dynamodb_table docfixes and error handling
10 years ago
Dag Wieers 57e7a6662a Work around a software bug in vSphere
Due to a software bug in vSphere, it fails to handle ampersand in datacenter names.
The solution is to do what vSphere does (when browsing) and double-encode ampersands.

It is likely other characters need special treatment like this as well, haven't found any.
10 years ago
Alan Loi c7f0fafe62 Check AWS region and credentials are provided. 10 years ago
Alan Loi 9e8802cacd Docfixes - add version_added and default values. 10 years ago
Rene Moser 90d0828b1a cloudstack: fix user_data gathering, must not be in for loop 10 years ago
Christopher Troup 0dc2fb73d3 Add GPL file header 10 years ago
Rene Moser db33fcf89a cloudstack: update code to match best practice
* Remove catchall exception
* use `if __name__ == '__main__':`
10 years ago
Rick Mendes 2791edc496 resolving merge conflicts 10 years ago
Rene Moser 94060b5ade cloudstack: fix state=expunged in cs_instance 10 years ago
Rene Moser 5b86a15cdb cloudstack: cs_instance do not pass zoneid to listVirtualMachines
This change is related to 2 issues;

- The API does not return destroyed VMs if zone ID is passed for CS version < 4.5.2. Also see CLOUDSTACK-8578. This only affects domain and root admins.
- The instance name must be unique across all zones. If we pass the zone ID to find  a VM, it will not be found if it is in a different zone but a deployment with the name would fail.
10 years ago
Rene Moser c8d6d68428 cloudstack: cleanup cs_instance use param key exlicitly for utils methods 10 years ago
Rene Moser b031e818b1 cloudstack: fix cs_instance can not find iso and disk offering if domain is set.
This does only affect root admins.
10 years ago
Rick Mendes 12d76027df upgraded docs and argspec to match module guidelines 10 years ago
Rene Moser b1e6d6ba52 cloudstack: fix cs_instance hypervisor must be omitted if set on template/iso
Fix related to issue reported in PR GH-646
10 years ago
Rene Moser 60b5ae35b3 cloudstack: make get_template_or_iso returning a dict for fix GH-646 10 years ago
Toshio Kuratomi dec7d95d51 Fix up docs 10 years ago
Matt Martz d5d84288ae Bump version_added to 2.0 10 years ago
Matt Martz ebe1904e59 Add missing __init__.py 10 years ago
Matt Martz 0bb285d58f Merge pull request #260 from smashwilson/rax_mon
Rackspace Cloud Monitoring modules
10 years ago
Toshio Kuratomi a5da6da2d6 Merge pull request #638 from jpic/fix/define-HAS_LXC
Define HAS_LXC even if import lxc doesn't fail.
10 years ago
Brian Coca 9c87bedb19 Merge pull request #639 from jpic/fix/lxc-option-parsing
Fixed lxc option parsing.
10 years ago
jpic c4d2472148 Fixed lxc option parsing.
This fixes::

    Traceback (most recent call last):
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 3355, in <module>
        main()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 1724, in main
        lxc_manage.run()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 1605, in run
        action()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 1145, in _started
        self._config()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080916.98-133068627776311/lxc_container", line 714, in _config
        _, _value = option_line.split('=')
    ValueError: too many values to unpack

With such a task::

    tasks:
    - lxc_container:
        name: buildbot-master
        container_config:
        - "lxc.mount.entry = {{ cwd }} srv/peopletest none defaults,bind,uid=0,create=dir 0 0"
10 years ago
jpic d8063b913e Define HAS_LXC even if import lxc doesn't fail.
This fixes::

    Traceback (most recent call last):
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080800.61-38257321141340/lxc_container", line 3353, in <module>
        main()
      File "/home/jpic/.ansible/tmp/ansible-tmp-1435080800.61-38257321141340/lxc_container", line 1712, in main
        if not HAS_LXC:
    NameError: global name 'HAS_LXC' is not defined
10 years ago
Greg DeKoenigsberg 786124dd60 Merge pull request #498 from loia/feature/aws_dynamodb
Add dynamodb_table module
10 years ago
Alan Loi 1a914128f6 Fix aws connection to use params. 10 years ago
Alan Loi ac09e60914 Add .py file extension to dynamodb_table module. 10 years ago
Alan Loi 011fef5f32 Added return value documentation to dynamodb_table module. 10 years ago
Alan Loi 268104fca3 Added check_mode support to dynamodb_table module. 10 years ago
Christopher Troup 8c643498d3 Use state: present|absent rather than command: create|delete 10 years ago
Christopher Troup 86ae387fdc Update documentation to include usual fields
- Adds version_added
- Adds author
- Removed default: null from a required field
10 years ago
Christopher Troup edc423a18a Add support for creating and deleting Route53 hosted zones
Supports both private (per-VPC) and public hosted zones.
10 years ago
Brian Coca 1604382538 monior docfixes
added extensino to vsphere_copy so it actually installs
10 years ago
Brian Coca d1b1b2b6f3 Merge pull request #626 from amir343/devel
Implementation of EC2 AMI copy between regions
10 years ago
Brian Coca be20038f7b Merge pull request #627 from resmo/feature/cs_facts
cloudstack: new module cs_facts
10 years ago
Dag Wieers d0cf9617a5 Spurious newline could corrupt payload
Due to a spurious newline we corrupted the payload. It depends on the order of the headers and if there were headers added by vSphere.

The Accept header was also not needed.
10 years ago
Rene Moser 35b6bc417d cloudstack: new module cs_facts 10 years ago
Amir Moulavi 628f2b98b6 Implementation of EC2 AMI copy between regions 10 years ago
Brian Coca e66e953f08 Merge pull request #410 from wimnat/feature/ec2_eni
Add ec2_eni module (aws network interfaces)
10 years ago
Greg DeKoenigsberg 352531930c Merge pull request #607 from wimnat/feature/ec2_vpc_igw
Feature/ec2 vpc igw
10 years ago
Will Thames 6b8c462d66 Add GUIDELINES for AWS module development
Starting point for a reference when doing pull request reviews.
If something doesn't meet the guidelines we can point people
at them. If something is bad but is not mentioned in the
guidelines, we should add it here.
10 years ago
Brian Coca 9db032aa11 minor doc update 10 years ago
Dag Wieers 330e66327a New module to copy (push) files to a vCenter datastore 10 years ago
Greg DeKoenigsberg 7108b77c17 Merge pull request #606 from cloudnull/lxc-restart-fix
Fix the lxc container restart state
10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Greg DeKoenigsberg d831c6a924 Adding author info 10 years ago
Greg DeKoenigsberg 87bc0ee39f Merge branch 'devel' of https://github.com/ansible/ansible-modules-extras into devel 10 years ago
Greg DeKoenigsberg 59c57ee798 Changing maintainer for this module 10 years ago
Rene Moser ad845a59b0 cloudstack: fix clean_up arg to be boolean in cs_network 10 years ago
Rene Moser 68dc905b5f cloudstack: add new module cs_template 10 years ago
Alex Lo 90b6f0fe68 Error message typo 10 years ago
Alex Lo 59c3913e0b Fix boto library checking 10 years ago
Alex Lo a86c8ab025 There is no absent, only disabled 10 years ago
Alex Lo ea0f0ec7d3 remove extraneous imports 10 years ago
Rene Moser c842c71708 cloudstack: add new module cs_network 10 years ago
Rene Moser ed0395e2cc cloudstack: remove listall in cs_project
listall in cs_project can return the wrong project for root admins, because project name are not unique in separate accounts.
10 years ago
Rene Moser 1d49d4af09 cloudstack: fix project name must not be case sensitiv 10 years ago
Brian Coca 16851baaf7 added missing options: 10 years ago
Brian Coca cc9d2ad03f minor docs update 10 years ago
Quentin Stafford-Fraser e972346fae Webfaction will create a default database user when db is created. For symmetry and repeatability, delete it when db is deleted. Add missing param to documentation. 10 years ago
Sergei Antipov 35853a3d70 proxmox | changed https_verify_ssl to to validate_certs and added
forgotten return
10 years ago
Sergei Antipov 5f916ac4e3 proxmox_template | deleted state=list and changed default timeout to 30 10 years ago
Sergei Antipov e1c8cdc39d proxmox_template | changed http_verify_ssl to validate_certs 10 years ago
Sergei Antipov 08a9096c75 proxmox_template | fixed problem with uploading 10 years ago
Sergei Antipov 078dc8b205 Added proxmox_template module 10 years ago
Quentin Stafford-Fraser 759a7d84dc Add GPL notices 10 years ago
Kevin Carter 391df0ffe0 Updates the doc information for the python2-lxc dep
The python2-lxc library has been uploaded to pypi as such this commit
updates the requirements and doc information for the module such that
it instructs the user to install the pip package "lxc-python2" while
also noting that the package could be gotten from source as well. In
the update comments have been added to the requirements list which
notes where the package should come from,

Closes-Bug: https://github.com/ansible/ansible-modules-extras/issues/550
10 years ago
Kevin Carter 37db619234 lxc_container: remove BabyJSON
Removed the usage of baby json. This is in response to the fact
that the baby json functionality was removed in Ansible 1.8

Ref: https://github.com/ansible/ansible-modules-extras/issues/430
10 years ago
Rene Moser e1006eb907 cloudstack: add new module cs_project 10 years ago
Rene Moser 421b3ff24e cloudstack: fix doc for cs_instance, force is defaulted to false 10 years ago
Rene Moser 79a5ea2ca6 cloudstack: fix examples in cs_iso 10 years ago
Rene Moser 53130de662 cloudstack: add choices for api_http_method 10 years ago
Rene Moser eb66f683f5 cloudstack: add new param api_timeout 10 years ago
Rene Moser 01caf84227 cloudstack: update doc of cs_portforward, fixes typos. 10 years ago
Rene Moser e143689d9c cloudstack: update doc in cs_instance 10 years ago
Rene Moser a13a26aa2a cloudstack: add instance_name alias internal name to returns in cs_instance 10 years ago
Rene Moser 7442db3f41 cs_instance: improve hypervisor argument and return 10 years ago
Rene Moser 93a1542cc1 cloudstack: improve required params 10 years ago
Quentin Stafford-Fraser 25acd524e7 Add examples. 10 years ago
Quentin Stafford-Fraser 1a19b96464 Available choices for 'state' explicitly listed. 10 years ago
Quentin Stafford-Fraser 70983f3976 Documentation version_added numbers are strings. 10 years ago
Quentin Stafford-Fraser d524d450ae Tidying of webfaction modules 10 years ago
Quentin Stafford-Fraser f605e38827 Add webfaction modules 10 years ago
whiter 8311854fa6 New module - ec2_eni_facts 10 years ago
whiter 5c39a5cc19 New module - ec2_eni 10 years ago
Brian Coca 2b5160ad52 Merge pull request #612 from resmo/for-ansible
cloudstack: fix clean_up arg to be boolean in cs_network
10 years ago
Rene Moser 96d82b4f9e cloudstack: fix clean_up arg to be boolean in cs_network 10 years ago
Rene Moser 5f5577e110 cloudstack: add new module cs_template 10 years ago
Rob White c21eebdd7b Updated documentation and added boto profile support. 10 years ago
Robert Estelle 6b32b95252 ec2_vpc_igw - Rename IGWException to AnsibleIGWException. 10 years ago
Robert Estelle 829759fba7 ec2_vpc_igw - Exit with fail_json when boto is unavailable. 10 years ago
Robert Estelle 9f0ee40b42 Add ec2_vpc_igw module. 10 years ago
Kevin Carter d3b3d7ff3c Fix the lxc container restart state
The lxc container restart state does not ensure that the container
is in fact started unless another config or command is passed into
the task. to fix this the module simply needs to have the function
call added ``self._container_startup()`` after the container is
put into a stopped state.

Signed-off By: Kevin Carter <kevin.carter@rackspace.com>
10 years ago
Alex Lo 416d96a1e6 Error message typo 10 years ago
Alex Lo d1f50493bd Fix boto library checking 10 years ago
Alex Lo d0ef6db43c There is no absent, only disabled 10 years ago
Alex Lo 4fc275d1c5 remove extraneous imports 10 years ago
Rene Moser bec97ff60e cloudstack: add new module cs_network 10 years ago
Brian Coca 78035779f6 Merge pull request #567 from cloudnull/lxc-package-doc-update
Updates the doc information for the python2-lxc dep
10 years ago
Rick Mendes 70a7a46d52 optionally supports waiting for the password to be available 10 years ago
Rene Moser 1b8eb9091b cloudstack: remove listall in cs_project
listall in cs_project can return the wrong project for root admins, because project name are not unique in separate accounts.
10 years ago