Rene Moser
70762b0290
cloudstack: new module cs_domain
2016-12-08 11:33:07 -05:00
whiter
2a4704e21d
Changed resource_tags to tags to match other modules (resource_tags still an alias) Added get_subnet_info method to return more subnet info - matches same method in ec2_vpc_subnet_facts module Rework of tags - will now only apply the tags listed in the module. Existing tags not listed will be removed (desired state!)
2016-12-08 11:33:07 -05:00
whiter
3497f67d28
Updated doco for vpc_subnet
2016-12-08 11:33:07 -05:00
whiter
d7269d977b
Updated documentation
2016-12-08 11:33:07 -05:00
Robert Estelle
6670f7a220
ec2_vpc_subnet - Use dict constructor instead of comprehension.
2016-12-08 11:33:07 -05:00
Robert Estelle
7733c3f2be
ec2_vpc_subnet - resource_tags is not required.
2016-12-08 11:33:07 -05:00
Jonathan Davila
5e31e37f9e
Doc string fix for vsphere_copy
2016-12-08 11:33:07 -05:00
Benno Joy
bd9eca2d30
update license
2016-12-08 11:33:05 -05:00
Benno Joy
b49b1c6d7d
Module for modifying NAT rules in vcloud or vcd
2016-12-08 11:33:05 -05:00
Benno Joy
6abf3a856d
Module for modifying firewall rules in vcloud or vcd
2016-12-08 11:33:05 -05:00
Brian Coca
47fdd8a960
minor doc fixes to xenserver_facts
2016-12-08 11:33:05 -05:00
Andy Hill
eab023f8db
Add xenserver_facts module
...
This module gathers facts about a XenServer host, gathering them in a single
connection instead of multiple xe commands.
2016-12-08 11:33:05 -05:00
Rob White
f0bdf74b5e
New module - ec2_vpc_route_table_facts
2016-12-08 11:33:05 -05:00
Maciej Delmanowski
8e3da4212b
Update author information in virt_pool docs
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
c5c69ca1e7
Update author information in virt_net docs
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
6c4f50a2ea
Remove unused parameter from method arguments
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
b42bc91258
Add whitespace so diff with 'virt_pool' is easier
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
e1084e5caa
Rewrite method to not use try/except
...
Additional checks are not needed, because 'self.conn.get_entry(-1)'
returns all existing entries, each one should have state defined.
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
1f65953090
Rewrite for loops in a more Pythonic style
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
2fde14aaf1
Remove separate check for Xen
...
Module checked for Xen-based system, however since 'xen:///' URI support
exists in 'libvirt', we should use it explicitly instead.
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
8a1abfdd92
libvirt: virt_net module
...
This module manages network configuration in libvirt.
2016-12-08 11:33:04 -05:00
Rene Moser
81006ab9c3
cloudstack: fix typos in doc
2016-12-08 11:33:04 -05:00
Maciej Delmanowski
7e3787dd11
libvirt: virt_pool module
...
This module manages storage pool configuration in libvirt.
2016-12-08 11:33:04 -05:00
Brian Coca
040f72f811
fixed license and copyright
2016-12-08 11:33:03 -05:00
Brian Coca
b17859d8d5
removed redundant version added
2016-12-08 11:33:03 -05:00
Benno Joy
58af9f159e
Module for creating vapp/vm in vcloud or vcd
2016-12-08 11:33:03 -05:00
dohoangkhiem
08e4ef5120
Remove incorrect copyright | minor refinement of code convention
2016-12-08 11:33:02 -05:00
dohoangkhiem
3c4fa05ef0
New module: gce_tag for add/remove tags to/from GCE instance
2016-12-08 11:33:02 -05:00
Toshio Kuratomi
64fbe80199
Fix typo in docs
2016-12-08 11:33:02 -05:00
Matt Baldwin
056d56ce24
Correcting issues raised by @abadger.
2016-12-08 11:33:02 -05:00
Matt Baldwin
1e7df67e76
Resolving issues flagged in pull request #683
2016-12-08 11:33:02 -05:00
Matt Baldwin
058f3772f1
Ansible ProfitBricks Compute Module.
2016-12-08 11:33:01 -05:00
Siva Popuri
ba185f1bf1
corrected the license string to make it compatible with GPLV3
2016-12-08 11:33:01 -05:00
Siva Popuri
98253831c1
changes to include PR review comments
2016-12-08 11:33:01 -05:00
Rene Moser
8492f7e05c
cloudstack: new module cs_staticnat
2016-12-08 11:33:01 -05:00
Rene Moser
15b6ae8e5c
cloudstack: cs_instance: fix display_name not used in deployment
2016-12-08 11:33:01 -05:00
Rene Moser
1f25377ce9
cloudstack: use get_or_fallback() from cloudstack utils
2016-12-08 11:33:01 -05:00
Rene Moser
743ed1cd82
cloudstack: cs_portforward: fix public_end_port was used for private_end_port
2016-12-08 11:33:01 -05:00
Rob White
280086f230
Doc fixup
2016-12-08 11:33:01 -05:00
Rob White
a979c0db8e
Removed requirement for target_bucket
2016-12-08 11:33:00 -05:00
Rob White
dbd26446c8
New module - s3_logging
2016-12-08 11:33:00 -05:00
Maciej Delmanowski
1b6980b086
virt: 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: #430
2016-12-08 11:33:00 -05:00
Brian Coca
b789277517
minor doc fixes
2016-12-08 11:33:00 -05:00
Boris Ekelchik
1b56c446b8
Added changes requested by reviewers
...
Copied @wimnat incorporating changes requested in feedback comments
2016-12-08 11:33:00 -05:00
Boris Ekelchik
7d562272a4
New sts_assume_role module
2016-12-08 11:32:59 -05:00
Rene Moser
7806d3d134
cloudstack: cs_instance: fix missing resource error in check mode if instance is not yet present
2016-12-08 11:32:59 -05:00
Toshio Kuratomi
36429c7b9b
Fix the documentation of route53_zone
2016-12-08 11:32:58 -05:00
Christopher Troup
5f57ffcbba
Add GPL file header
2016-12-08 11:32:58 -05:00
Christopher Troup
af8c363932
Use state: present|absent rather than command: create|delete
2016-12-08 11:32:58 -05:00
Christopher Troup
beceeb440d
Update documentation to include usual fields
...
- Adds version_added
- Adds author
- Removed default: null from a required field
2016-12-08 11:32:58 -05:00
Christopher Troup
a6e79f6347
Add support for creating and deleting Route53 hosted zones
...
Supports both private (per-VPC) and public hosted zones.
2016-12-08 11:32:58 -05:00
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