Ash Wilson
c10f898b53
Use rax_to_dict().
2016-12-08 11:32:57 -05:00
Ash Wilson
9928efedc9
Bring the examples up to date.
2016-12-08 11:32:57 -05:00
Ash Wilson
b76dff4411
Guard calls that modify the CLB with try/except.
2016-12-08 11:32:57 -05:00
Ash Wilson
f97c3cb8b6
Include the balancer acted upon in the result.
2016-12-08 11:32:57 -05:00
Ash Wilson
e7d31217f1
Bump version_added.
2016-12-08 11:32:57 -05:00
Ash Wilson
6eda375684
Use rax_find_loadbalancer utility method.
2016-12-08 11:32:57 -05:00
Ash Wilson
0177ba903a
Remove redundant "state" validity check.
2016-12-08 11:32:57 -05:00
Ash Wilson
9dfba4881f
Rename "balancer_name" to "loadbalancer."
2016-12-08 11:32:57 -05:00
Ash Wilson
575ace06b9
Move ansible imports to the module's bottom.
2016-12-08 11:32:57 -05:00
Ash Wilson
7bf7f23b3e
Use the correct version_added.
2016-12-08 11:32:57 -05:00
Ash Wilson
05cee6a120
Initial implementation of rax_clb_ssl.
2016-12-08 11:32:57 -05:00
Quentin Stafford-Fraser
e57a771860
webfaction: Allow machine to be specified if account has more than one.
2016-12-08 11:32:57 -05:00
Rene Moser
24b0943eaa
cloudstack: fix user_data gathering, must not be in for loop
2016-12-08 11:32:56 -05:00
Rene Moser
1aa4d0c2dd
cloudstack: update code to match best practice
...
* Remove catchall exception
* use `if __name__ == '__main__':`
2016-12-08 11:32:56 -05:00
Rene Moser
4020ebaecf
cloudstack: fix state=expunged in cs_instance
2016-12-08 11:32:56 -05:00
Rene Moser
cbfc5a3079
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.
2016-12-08 11:32:56 -05:00
Rene Moser
6fd10bed8f
cloudstack: cleanup cs_instance use param key exlicitly for utils methods
2016-12-08 11:32:56 -05:00
Rene Moser
da3db1bfda
cloudstack: fix cs_instance can not find iso and disk offering if domain is set.
...
This does only affect root admins.
2016-12-08 11:32:56 -05:00
Matt Martz
45e9216fc4
Fix interpreter line in webfaction modules
2016-12-08 11:32:56 -05:00
Matt Martz
bfa9852fc7
Update vsphere_copy.py to use new style module_utils import
2016-12-08 11:32:56 -05:00
Dag Wieers
ab7a8a6a11
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.
2016-12-08 11:32:56 -05:00
Rick Mendes
c89e05892a
upgraded docs and argspec to match module guidelines
2016-12-08 11:32:56 -05:00
Rick Mendes
1286364498
optionally supports waiting for the password to be available
2016-12-08 11:32:55 -05:00
Rick Mendes
110388be11
added version_added to key_passphrase
2016-12-08 11:32:55 -05:00
Rick Mendes
cced189390
now handles keys protected with a passphrase
2016-12-08 11:32:55 -05:00
Alan Loi
dbbeee34a0
Check AWS region and credentials are provided.
2016-12-08 11:32:55 -05:00
Alan Loi
a7732e23dd
Docfixes - add version_added and default values.
2016-12-08 11:32:55 -05:00
Rene Moser
03a6fc0c56
cloudstack: fix cs_instance hypervisor must be omitted if set on template/iso
...
Fix related to issue reported in PR GH-646
2016-12-08 11:32:54 -05:00
Rene Moser
b1143abbcf
cloudstack: make get_template_or_iso returning a dict for fix GH-646
2016-12-08 11:32:54 -05:00
Toshio Kuratomi
4078e0905c
Fix up docs
2016-12-08 11:32:54 -05:00
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
Quentin Stafford-Fraser
3f715dc954
Tidying of webfaction modules
2016-12-08 11:32:48 -05:00
Quentin Stafford-Fraser
00e146649f
Add webfaction modules
2016-12-08 11:32:48 -05:00
Sergei Antipov
89e13e2ae8
proxmox | changed https_verify_ssl to to validate_certs and added forgotten return
2016-12-08 11:32:47 -05:00
Sergei Antipov
73cfe2f3c7
proxmox_template | deleted state=list and changed default timeout to 30
2016-12-08 11:32:47 -05:00
Sergei Antipov
9491bb138d
proxmox_template | changed http_verify_ssl to validate_certs
2016-12-08 11:32:47 -05:00
Sergei Antipov
79cee59b5b
proxmox_template | fixed problem with uploading
2016-12-08 11:32:47 -05:00
Sergei Antipov
3615776422
Added proxmox_template module
2016-12-08 11:32:47 -05:00
Kevin Carter
c7a04c0863
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
2016-12-08 11:32:46 -05:00
Rene Moser
22f1cbd21f
cloudstack: add new module cs_project
2016-12-08 11:32:45 -05:00
Rene Moser
3cded7d5af
cloudstack: fix doc for cs_instance, force is defaulted to false
2016-12-08 11:32:44 -05:00
Rene Moser
62eaec7191
cloudstack: fix examples in cs_iso
2016-12-08 11:32:44 -05:00
Rene Moser
b30fda4906
cloudstack: add choices for api_http_method
2016-12-08 11:32:44 -05:00
Rene Moser
2ca6d151b2
cloudstack: add new param api_timeout
2016-12-08 11:32:44 -05:00
Rene Moser
218c0bce18
cloudstack: update doc of cs_portforward, fixes typos.
2016-12-08 11:32:44 -05:00
Rene Moser
7bfb24cae5
cloudstack: update doc in cs_instance
2016-12-08 11:32:44 -05:00
Rene Moser
64f9c9fc17
cloudstack: add instance_name alias internal name to returns in cs_instance
2016-12-08 11:32:44 -05:00
Rene Moser
62e062eb34
cs_instance: improve hypervisor argument and return
2016-12-08 11:32:44 -05:00
Rene Moser
30feb9d387
cloudstack: improve required params
2016-12-08 11:32:44 -05:00
Greg DeKoenigsberg
b2e60b7cde
Changing maintainer for this module
2016-12-08 11:32:44 -05:00
Sergei Antipov
1e70526186
Added examples
2016-12-08 11:32:43 -05:00