Commit Graph

153 Commits (d93da276ad0d0a1d349cace71eb3d18eacce5d64)

Author SHA1 Message Date
Matt Martz d93da276ad Bump version_added to 2.0 2016-12-08 11:32:54 -05:00
Matt Martz 66ce556e92 Add missing __init__.py 2016-12-08 11:32:54 -05:00
Ash Wilson 23c79ed474 Eliminate redundant module argument checks. 2016-12-08 11:32:54 -05:00
Ash Wilson 6b753c5c71 Use required=True and choices=[]. 2016-12-08 11:32:54 -05:00
Ash Wilson 4b1bdf738e Correct version_added in the documentation. 2016-12-08 11:32:54 -05:00
Ash Wilson eac1565b22 Restore rax_mon_* modules. 2016-12-08 11:32:54 -05:00
jpic 4afb6b73c8 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
2016-12-08 11:32:54 -05:00
jpic 44d97d33e5 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"
2016-12-08 11:32:53 -05:00
Alan Loi e05ade9806 Fix aws connection to use params. 2016-12-08 11:32:53 -05:00
Alan Loi a6b6cfe2dd Add .py file extension to dynamodb_table module. 2016-12-08 11:32:53 -05:00
Alan Loi abf03f6376 Added return value documentation to dynamodb_table module. 2016-12-08 11:32:53 -05:00
Alan Loi 1bea9a25bb Added check_mode support to dynamodb_table module. 2016-12-08 11:32:53 -05:00
Alan Loi e93aec0b3a Add dynamodb_table module 2016-12-08 11:32:53 -05:00
Brian Coca c73d248ba6 monior docfixes added extensino to vsphere_copy so it actually installs 2016-12-08 11:32:52 -05:00
Amir Moulavi 4588a4f9ed Implementation of EC2 AMI copy between regions 2016-12-08 11:32:52 -05:00
Rene Moser ee2809d4f4 cloudstack: new module cs_facts 2016-12-08 11:32:52 -05:00
Dag Wieers 209ba9aed0 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.
2016-12-08 11:32:52 -05:00
whiter cc47adbc03 New module - ec2_eni 2016-12-08 11:32:52 -05:00
Rob White 4ad6cc183a Updated documentation and added boto profile support. 2016-12-08 11:32:52 -05:00
Robert Estelle b180b97273 ec2_vpc_igw - Rename IGWException to AnsibleIGWException. 2016-12-08 11:32:52 -05:00
Robert Estelle 83d3ff2692 ec2_vpc_igw - Exit with fail_json when boto is unavailable. 2016-12-08 11:32:52 -05:00
Robert Estelle 9433c88aef Add ec2_vpc_igw module. 2016-12-08 11:32:52 -05:00
Will Thames bbc82baa58 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.
2016-12-08 11:32:52 -05:00
Siva Popuri ba389018bc Corrected the license text to match GPLv3 2016-12-08 11:32:52 -05:00
Siva Popuri 62d42f0163 Added clc ansible module for managing groups in centurylink cloud 2016-12-08 11:32:52 -05:00
Siva Popuri f50657aec0 Revert "ansible modules for centurylink cloud are added"
This reverts commit 11c953477c012435e078d62204b0cf1db2796d2f.
2016-12-08 11:32:52 -05:00
Siva Popuri a2248dd2d0 ansible modules for centurylink cloud are added 2016-12-08 11:32:52 -05:00
Brian Coca 6ababec09f minor doc update 2016-12-08 11:32:51 -05:00
Dag Wieers 9197b84236 New module to copy (push) files to a vCenter datastore 2016-12-08 11:32:51 -05:00
Kevin Carter 16cc3423a5 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>
2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg 9e56cb6c0f Adding author info 2016-12-08 11:32:50 -05:00
whiter c9fb43a8e3 New module - ec2_eni_facts 2016-12-08 11:32:50 -05:00
Rene Moser a9449f951e cloudstack: fix clean_up arg to be boolean in cs_network 2016-12-08 11:32:50 -05:00
Rene Moser 614caead31 cloudstack: add new module cs_template 2016-12-08 11:32:50 -05:00
Alex Lo 6e27752cea Error message typo 2016-12-08 11:32:50 -05:00
Alex Lo 62390208e3 Fix boto library checking 2016-12-08 11:32:50 -05:00
Alex Lo 04f5a73bd1 There is no absent, only disabled 2016-12-08 11:32:50 -05:00
Alex Lo 66800925cd remove extraneous imports 2016-12-08 11:32:50 -05:00
Rene Moser ad72afbc40 cloudstack: add new module cs_network 2016-12-08 11:32:49 -05:00
Kevin Carter 92bd79de03 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
2016-12-08 11:32:49 -05:00
Rene Moser 4da34d198b 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.
2016-12-08 11:32:49 -05:00
Rene Moser 2c1df46167 cloudstack: fix project name must not be case sensitiv 2016-12-08 11:32:49 -05:00
Brian Coca 74cc1bb624 added missing options: 2016-12-08 11:32:49 -05:00
Brian Coca 6769114afd minor docs update 2016-12-08 11:32:48 -05:00
Quentin Stafford-Fraser 784b265e72 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. 2016-12-08 11:32:48 -05:00
Quentin Stafford-Fraser 03999b457a Add GPL notices 2016-12-08 11:32:48 -05:00
Quentin Stafford-Fraser 6739578742 Add examples. 2016-12-08 11:32:48 -05:00
Quentin Stafford-Fraser 8bd3d72088 Available choices for 'state' explicitly listed. 2016-12-08 11:32:48 -05:00
Quentin Stafford-Fraser 3d1090fc66 Documentation version_added numbers are strings. 2016-12-08 11:32:48 -05:00