Alex Kalinin
0a9ac470df
Fix vmware_portgroup throwing an error if port group already exists
2016-03-17 17:00:00 -07:00
Toshio Kuratomi
33e1d9d1cb
Doc fixes
2016-03-18 09:05:36 -07:00
René Moser
f62fe7c55b
Merge pull request #1733 from skinlayers/devel
...
Fixes route53_facts to use max_items parameter with record_sets query.
2016-03-16 23:08:32 +01:00
René Moser
a16c9a74f6
Merge pull request #1751 from nonshankus/additional-elb-facts
...
Adding missing attributes regarding the hosted zone. / Fixes #1549
2016-03-16 22:51:38 +01:00
David Shrewsbury
f47b499bb9
Merge pull request #1528 from Shrews/os_group
...
Add os_group.py OpenStack module
2016-03-16 15:33:21 -04:00
David Shrewsbury
57ac47ba25
Merge pull request #1552 from Shrews/os_flavor_facts
...
New OpenStack os_flavor_facts.py module
2016-03-16 15:32:29 -04:00
David Shrewsbury
514b2fbec5
Merge pull request #1520 from Shrews/os_keystone_role
...
Add new os_keystone_role module.
2016-03-16 15:30:56 -04:00
René Moser
6a5e1e8d4d
Merge pull request #1614 from resmo/feature/cs_zone_facts
...
[2.1] cloudstack: new module cs_zone_facts
2016-03-15 23:27:06 +01:00
Ritesh Khadgaray
040b358770
Fix test failure for lxc_container
...
TRACE:
while parsing a block mapping
in "<string>", line 33, column 13:
description: resulting state of ...
^
expected <block end>, but found ','
in "lxc_container.RETURN", line 419, column 53:
... "/tmp/test-container-config.tar",
ERROR: RETURN is not valid YAML. Line 419 column 53
2016-03-13 12:58:51 +05:30
Brian Coca
be66e9d297
add container name to return and document return
...
fixes #1848
2016-03-12 16:06:02 -05:00
liquidat
0cdd66fa23
remove legacy action style from examples
...
- "action" style invoking is a legacy way to call modules
- the examples were updated to the typical style of calling complex
modules:
ovirt:
parameter1: value1
parameter2: value2
...
2016-03-10 15:14:27 +01:00
Brian Coca
6c43731d7c
Merge pull request #1776 from rcarrillocruz/use_module_params_cloud_os_project
...
Fix instantiation of openstack_cloud object in os_project
2016-03-03 18:48:10 -05:00
Brian Coca
30ba3a97ed
Merge pull request #1723 from kaczynskid/feature/ecs_task_fixes
...
ecs_task module documentation fixes
2016-03-03 18:47:08 -05:00
Brian Coca
f6d2763671
Merge pull request #1626 from jcpowermac/vmware_migrate_vmk_fix_20
...
Resolves issue with vmware_migrate_vmk module for v2.0
2016-03-03 18:45:45 -05:00
Brian Coca
478ca3d321
Merge pull request #1625 from jcpowermac/vmware_vm_vss_dvs_migrate_fix_20
...
Resolves issue with vmware_vm_vss_dvs_migrate module for v2.0
2016-03-03 18:45:31 -05:00
Brian Coca
9f67ed64a3
Merge pull request #1624 from jcpowermac/vmware_host_fix_20
...
Resolves issue with vmware_host module for v2.0
2016-03-03 18:45:10 -05:00
Brian Coca
fe5168a395
Merge pull request #1622 from jcpowermac/vmware_dvs_portgroup_fix_20
...
Resolves issue with vmware_dvs_portgroup module for v2.0
2016-03-03 18:44:56 -05:00
Brian Coca
18c654b90e
Merge pull request #1620 from jcpowermac/vmware_cluster_fix_20
...
Resolves issue with vmware_cluster module for v2.0
2016-03-03 18:44:40 -05:00
Brian Coca
a68ff8c9c8
Merge pull request #1623 from jcpowermac/vmware_dvs_host_fix_20
...
Resolves issue with vmware_dvs_host module for v2.0
2016-03-03 18:43:47 -05:00
Brian Coca
cda520436e
Merge pull request #1591 from resmo/feature/cs_zone
...
[2.1] cloudstack: new module cs_zone
2016-03-03 18:42:28 -05:00
Brian Coca
ab8b889559
Merge pull request #1590 from resmo/feature/cs_cluster
...
[2.1] cloudstack: new module cs_cluster
2016-03-03 18:42:05 -05:00
Brian Coca
39b82b3dab
Merge pull request #1589 from resmo/feature/cs_pod
...
[2.1] cloudstack: new module cs_pod
2016-03-03 18:41:41 -05:00
Brian Coca
f5c4af406a
Merge pull request #1588 from resmo/feature/cs_instance_facts
...
[2.1] cloudstack: new module cs_instance_facts
2016-03-03 18:41:21 -05:00
Brian Coca
7ebb8ed3fa
Merge pull request #1587 from resmo/feature/cs_resourcelimit
...
[2.1] cloudstack: new module cs_resourcelimit
2016-03-03 18:41:01 -05:00
Brian Coca
3145ef9467
Merge pull request #1586 from resmo/feature/cs_configuration
...
[2.1] cloudstack: new module cs_configuration
2016-03-03 18:39:53 -05:00
Ricardo Carrillo Cruz
68d906e8c4
Fix instantiation of openstack_cloud object in os_project
...
The os_project module instantiates the openstack cloud object
by passing the module params kwargs.
As the params contain a key named 'domain_id', this is used
for domain in the OpenStack connection, instead of the domain value
the user specifies on the OSCC clouds.yaml or OpenStack envvars.
This fix corrects this by popping the 'domain_id' key, so it we
keep the value but it's not passed later on module.params.
2016-03-03 16:34:23 +01:00
Matt Martz
767dd4bdc6
Choices should be a list of true/false not the string BOOLEANS
2016-03-01 16:18:30 -06:00
Matt Martz
f5329eb337
Don't call sys.exit in sns_topic, use HAS_BOTO to fail
2016-03-01 14:22:28 -06:00
Matt Martz
7df0aff7dd
DOCUMENTATION fixes for a few modules
2016-03-01 14:22:08 -06:00
Brian Coca
c439cc9ca6
Merge pull request #1621 from jcpowermac/vmware_dvswitch_fix_20
...
Resolves issue with vmware_dvswitch module for v2.0
2016-03-01 00:16:00 -05:00
Brian Coca
6589718ec4
Merge pull request #1585 from resmo/for-ansible-2.1
...
[2.1] cloudstack: module updates
2016-03-01 00:10:22 -05:00
Brian Coca
6049368b45
Merge pull request #1580 from jcpowermac/vmware_vswitch_fix_20
...
Resolves issue with vmware_vswitch module for v2.0
2016-03-01 00:10:02 -05:00
nonshankus
738f4cb27d
Adding missing attributes regarding the hosted zone.
2016-02-28 14:36:56 +01:00
Rene Moser
3b354ddf00
cloudstack: new module cs_zone_facts
2016-02-26 14:55:13 +01:00
Rene Moser
fc0c41a306
cloudstack: new module cs_instance_facts
2016-02-26 14:48:46 +01:00
Gabriel Burkholder
2ef35c33d0
Fixes route53_facts to use max_items parameter with record_sets query.
2016-02-24 16:16:04 -08:00
Darek Kaczyński
4798b53b06
ecs_task module documentation fixes
2016-02-24 11:52:26 +01:00
Joel Thompson
31ecde6b87
Fix documentation for sns_topic module
...
Currently the documentation does not correspond to the Ansible standards
for module documentation. This should bring it into compliance.
2016-02-21 20:32:16 -05:00
Brian Coca
14ff9e5030
merged duplicate entries for vdc_name
2016-02-14 11:33:41 -05:00
Matt Davis
462b114033
Merge pull request #1632 from MichaelBaydoun/docfix-ec2_vpc_net_facts
...
Update ec2_vpc_net_facts.py
2016-02-11 13:33:32 -08:00
Alex Kalinin
bba1dac0f0
Fix opening libvirt esx connection
2016-02-10 18:52:08 -08:00
Rene Moser
15f2a328a2
cloudstack: new module cs_zone
2016-02-09 22:06:49 +01:00
Rene Moser
dbf260b779
cloudstack: new module cs_pod
2016-02-09 22:05:05 +01:00
Rene Moser
d17fdc1846
cloudstack: new module cs_cluster
2016-02-09 22:03:47 +01:00
Brian Coca
6aeb2ab6cf
corrected parameter name and added missing description
2016-02-08 12:13:41 -05:00
Brian Coca
c55e4e6787
fixed misppelled description
2016-02-08 12:07:58 -05:00
Michael Baydoun
198c816b70
Update ec2_vpc_net_facts.py
...
Corrected version_added
2016-02-08 10:09:23 -05:00
Joseph Callen
35a04ff134
Resolves issue with vmware_migrate_vmk module for v2.0
...
When this module was written back in May 2015 we were using 1.9.x. Being lazy I added to param the objects that the other functions would need. What I have noticed is in 2.0 exit_json is trying to jsonify those complex objects and failing. This PR resolves that issue with the vmware_migrate_vmk module.
@kamsz reported this issue in https://github.com/ansible/ansible-modules-extras/pull/1568
Playbook
```
- name: Migrate Management vmk
local_action:
module: vmware_migrate_vmk
hostname: "{{ mgmt_ip_address }}"
username: "{{ vcsa_user }}"
password: "{{ vcsa_pass }}"
esxi_hostname: "{{ hostvars[item].hostname }}"
device: vmk1
current_switch_name: temp_vswitch
current_portgroup_name: esx-mgmt
migrate_switch_name: dvSwitch
migrate_portgroup_name: Management
with_items: groups['foundation_esxi']
```
Module Testing
```
TASK [Migrate Management vmk] **************************************************
task path: /opt/autodeploy/projects/emmet/tasks/deploy/migrate_vmk.yml:3
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695485.85-245405603184252 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695485.85-245405603184252 )" )
localhost PUT /tmp/tmpdlhr6t TO /root/.ansible/tmp/ansible-tmp-1454695485.85-245405603184252/vmware_migrate_vmk
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1454695485.85-245405603184252/vmware_migrate_vmk; rm -rf "/root/.ansible/tmp/ansible-tmp-1454695485.85-245405603184252/" > /dev/null 2>&1
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695490.35-143738865490168 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695490.35-143738865490168 )" )
localhost PUT /tmp/tmpqfZqh1 TO /root/.ansible/tmp/ansible-tmp-1454695490.35-143738865490168/vmware_migrate_vmk
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1454695490.35-143738865490168/vmware_migrate_vmk; rm -rf "/root/.ansible/tmp/ansible-tmp-1454695490.35-143738865490168/" > /dev/null 2>&1
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695491.96-124154332968882 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695491.96-124154332968882 )" )
localhost PUT /tmp/tmpf3rKZq TO /root/.ansible/tmp/ansible-tmp-1454695491.96-124154332968882/vmware_migrate_vmk
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1454695491.96-124154332968882/vmware_migrate_vmk; rm -rf "/root/.ansible/tmp/ansible-tmp-1454695491.96-124154332968882/" > /dev/null 2>&1
ok: [foundation-vcsa -> localhost] => (item=foundation-esxi-01) => {"changed": false, "invocation": {"module_args": {"current_portgroup_name": "esx-mgmt", "current_switch_name": "temp_vswitch", "device": "vmk1", "esxi_hostname": "cscesxtmp001", "hostname": "172.27.0.100", "migrate_portgroup_name": "Management", "migrate_switch_name": "dvSwitch", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "username": "root"}, "module_name": "vmware_migrate_vmk"}, "item": "foundation-esxi-01"}
ok: [foundation-vcsa -> localhost] => (item=foundation-esxi-02) => {"changed": false, "invocation": {"module_args": {"current_portgroup_name": "esx-mgmt", "current_switch_name": "temp_vswitch", "device": "vmk1", "esxi_hostname": "cscesxtmp002", "hostname": "172.27.0.100", "migrate_portgroup_name": "Management", "migrate_switch_name": "dvSwitch", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "username": "root"}, "module_name": "vmware_migrate_vmk"}, "item": "foundation-esxi-02"}
ok: [foundation-vcsa -> localhost] => (item=foundation-esxi-03) => {"changed": false, "invocation": {"module_args": {"current_portgroup_name": "esx-mgmt", "current_switch_name": "temp_vswitch", "device": "vmk1", "esxi_hostname": "cscesxtmp003", "hostname": "172.27.0.100", "migrate_portgroup_name": "Management", "migrate_switch_name": "dvSwitch", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "username": "root"}, "module_name": "vmware_migrate_vmk"}, "item": "foundation-esxi-03"}
```
2016-02-05 15:04:04 -05:00
Joseph Callen
3ce496c646
missing doc fragment
2016-02-05 14:56:39 -05:00
Joseph Callen
0740753255
Resolves issue with vmware_vm_vss_dvs_migrate module for v2.0
...
When this module was written back in May 2015 we were using 1.9.x. Being lazy I added to param the objects that the other functions would need. What I have noticed is in 2.0 exit_json is trying to jsonify those complex objects and failing. This PR resolves that issue with the vmware_vm_vss_dvs_migrate module.
@kamsz reported this issue in https://github.com/ansible/ansible-modules-extras/pull/1568
Playbook
```
- name: Migrate VCSA to vDS
local_action:
module: vmware_vm_vss_dvs_migrate
hostname: "{{ mgmt_ip_address }}"
username: "{{ vcsa_user }}"
password: "{{ vcsa_pass }}"
vm_name: "{{ hostname }}"
dvportgroup_name: Management
```
Module Testing
```
ASK [Migrate VCSA to vDS] *****************************************************
task path: /opt/autodeploy/projects/emmet/site_deploy.yml:260
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695546.3-207189190861859 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454695546.3-207189190861859 )" )
localhost PUT /tmp/tmpkzD4pF TO /root/.ansible/tmp/ansible-tmp-1454695546.3-207189190861859/vmware_vm_vss_dvs_migrate
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1454695546.3-207189190861859/vmware_vm_vss_dvs_migrate; rm -rf "/root/.ansible/tmp/ansible-tmp-1454695546.3-207189190861859/" > /dev/null 2>&1
changed: [foundation-vcsa -> localhost] => {"changed": true, "invocation": {"module_args": {"dvportgroup_name": "Management", "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "username": "root", "vm_name": "cscvcatmp001"}, "module_name": "vmware_vm_vss_dvs_migrate"}, "result": null}
```
2016-02-05 14:53:36 -05:00