Commit Graph

2146 Commits (9058f1fb76b53f2175f5c0226eaf41dfec1c3b97)

Author SHA1 Message Date
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
9 years ago
Brian Coca be66e9d297 add container name to return and document return
fixes #1848
9 years ago
Laurent Mazuel dd50d741dd Add update from @obsoleted 9 years ago
Laurent Mazuel 4fb6a7e468 Azure plugin using Azure Python SDK 2.0.0rc1 9 years ago
David Justice 547fd41352 add azure resource manager template deployment module 9 years ago
Matt Colton c6598e3672 Added Softlayer Module 9 years ago
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
  ...
9 years ago
Darek Kaczyński c553e70ed2 Removed debug return values 9 years ago
Julia Kreger 68c8c16082 Add os_ironic_inspect module
Addition of an os_ironic_inspect module to leverage the OpenStack
Baremetal inspector add-on to ironic or ironic driver out-of-band
hardware introspection, if supported and configured.
9 years ago
Rob White ce9aed9c52 Allow SNS topics to be created without subscriptions. Also added better error handling around boto calls. 9 years ago
Nick Aslanidis 2f56b3c8b4 corrected invalid tag description for CI checks 9 years ago
Nick Aslanidis 9eb9d1c74b corrected required to be bool instead of list 9 years ago
Nick Aslanidis fa8eb632f8 attempt to fix doc fragment 9 years ago
Nick Aslanidis 26e2c1bf11 updated extends_documentation_fragment and final cr 9 years ago
Brian Coca 6c43731d7c Merge pull request #1776 from rcarrillocruz/use_module_params_cloud_os_project
Fix instantiation of openstack_cloud object in os_project
9 years ago
Brian Coca 30ba3a97ed Merge pull request #1723 from kaczynskid/feature/ecs_task_fixes
ecs_task module documentation fixes
9 years ago
Brian Coca f6d2763671 Merge pull request #1626 from jcpowermac/vmware_migrate_vmk_fix_20
Resolves issue with vmware_migrate_vmk module for v2.0
9 years ago
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
9 years ago
Brian Coca 9f67ed64a3 Merge pull request #1624 from jcpowermac/vmware_host_fix_20
Resolves issue with vmware_host module for v2.0
9 years ago
Brian Coca fe5168a395 Merge pull request #1622 from jcpowermac/vmware_dvs_portgroup_fix_20
Resolves issue with vmware_dvs_portgroup module for v2.0
9 years ago
Brian Coca 18c654b90e Merge pull request #1620 from jcpowermac/vmware_cluster_fix_20
Resolves issue with vmware_cluster module for v2.0
9 years ago
Brian Coca a68ff8c9c8 Merge pull request #1623 from jcpowermac/vmware_dvs_host_fix_20
Resolves issue with vmware_dvs_host module for v2.0
9 years ago
Brian Coca cda520436e Merge pull request #1591 from resmo/feature/cs_zone
[2.1] cloudstack: new module cs_zone
9 years ago
Brian Coca ab8b889559 Merge pull request #1590 from resmo/feature/cs_cluster
[2.1] cloudstack: new module cs_cluster
9 years ago
Brian Coca 39b82b3dab Merge pull request #1589 from resmo/feature/cs_pod
[2.1] cloudstack: new module cs_pod
9 years ago
Brian Coca f5c4af406a Merge pull request #1588 from resmo/feature/cs_instance_facts
[2.1] cloudstack: new module cs_instance_facts
9 years ago
Brian Coca 7ebb8ed3fa Merge pull request #1587 from resmo/feature/cs_resourcelimit
[2.1] cloudstack: new module cs_resourcelimit
9 years ago
Brian Coca 3145ef9467 Merge pull request #1586 from resmo/feature/cs_configuration
[2.1] cloudstack: new module cs_configuration
9 years ago
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.
9 years ago
Fernando J Pando 1e05ee5b3b author added 9 years ago
Andy Nelson 2a082deca8 Updated ec2_vpc_dhcp_options 9 years ago
Matt Martz 767dd4bdc6 Choices should be a list of true/false not the string BOOLEANS 9 years ago
Matt Martz f5329eb337 Don't call sys.exit in sns_topic, use HAS_BOTO to fail 9 years ago
Matt Martz 7df0aff7dd DOCUMENTATION fixes for a few modules 9 years ago
Brian Coca c439cc9ca6 Merge pull request #1621 from jcpowermac/vmware_dvswitch_fix_20
Resolves issue with vmware_dvswitch module for v2.0
9 years ago
Brian Coca 6589718ec4 Merge pull request #1585 from resmo/for-ansible-2.1
[2.1] cloudstack: module updates
9 years ago
Brian Coca 6049368b45 Merge pull request #1580 from jcpowermac/vmware_vswitch_fix_20
Resolves issue with vmware_vswitch module for v2.0
9 years ago
nonshankus 738f4cb27d Adding missing attributes regarding the hosted zone. 9 years ago
Matt Ferrante c5ce684812 dynamo db indexes 9 years ago
Rene Moser 3b354ddf00 cloudstack: new module cs_zone_facts 9 years ago
Rene Moser fc0c41a306 cloudstack: new module cs_instance_facts 9 years ago
Gabriel Burkholder 2ef35c33d0 Fixes route53_facts to use max_items parameter with record_sets query. 9 years ago
Darek Kaczyński df482bfadd ecs_service will now compare whole model and update it if any difference found. Documentation #1483. Workaround for datetime fileds #1348. 9 years ago
Darek Kaczyński f4a9247232 ecs_service_facts documentation fixes #1483. Workaround for datetime fileds #1348. 9 years ago
Darek Kaczyński 4798b53b06 ecs_task module documentation fixes 9 years ago
Fernando J Pando fbf9da2119 Fix SNS topic attribute typo
Enables adding SNS topic policy. 'Policy' attribute is capitalized.
9 years ago
naslanidis b4163e52c5 Added return section to the documentation 9 years ago
naslanidis 20df1189b9 Fixed issue with tag changes affecting vpc attach 9 years ago
Nick Aslanidis 526ee48c0d New AWS module for managing ec2 VPC virtual gateways 9 years ago
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.
9 years ago
Brian Coca 14ff9e5030 merged duplicate entries for vdc_name 9 years ago
Matt Davis 462b114033 Merge pull request #1632 from MichaelBaydoun/docfix-ec2_vpc_net_facts
Update ec2_vpc_net_facts.py
9 years ago
Alex Kalinin bba1dac0f0 Fix opening libvirt esx connection 9 years ago
Joel Thompson 41a2542f00 Ensure ec2_win_password doesn't leak file handle
Currently the module doesn't explicitly close the file handle. This
wraps the reading of the private key in a try/finally block to ensure
the file is properly closed.
9 years ago
Rene Moser 15f2a328a2 cloudstack: new module cs_zone 9 years ago
Rene Moser dbf260b779 cloudstack: new module cs_pod 9 years ago
Rene Moser d17fdc1846 cloudstack: new module cs_cluster 9 years ago
Brian Coca 6aeb2ab6cf corrected parameter name and added missing description 9 years ago
Brian Coca c55e4e6787 fixed misppelled description 9 years ago
Michael Baydoun 198c816b70 Update ec2_vpc_net_facts.py
Corrected version_added
9 years ago
Casey Lucas 14c0e345d6 fix edge case where boto returns empty list after subnet creation 9 years ago
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"}
```
9 years ago
Joseph Callen 3ce496c646 missing doc fragment 9 years ago
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}

```
9 years ago
Joseph Callen 49cfd24ad8 Resolves issue with vmware_host 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_host module.

@kamsz reported this issue in https://github.com/ansible/ansible-modules-extras/pull/1568

Playbook
```
    - name: Add Host
      local_action:
        module: vmware_host
        hostname: "{{ mgmt_ip_address }}"
        username: "{{ vcsa_user }}"
        password: "{{ vcsa_pass }}"
        datacenter_name: "{{ mgmt_vdc }}"
        cluster_name: "{{ mgmt_cluster }}"
        esxi_hostname: "{{ hostvars[item].hostname }}"
        esxi_username: "{{ esxi_username }}"
        esxi_password: "{{ site_passwd }}"
        state: present
      with_items: groups['foundation_esxi']
```

Module Testing
```
TASK [Add Host] ****************************************************************
task path: /opt/autodeploy/projects/emmet/site_deploy.yml:214
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693866.1-87710459703937 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693866.1-87710459703937 )" )
localhost PUT /tmp/tmppmr9i9 TO /root/.ansible/tmp/ansible-tmp-1454693866.1-87710459703937/vmware_host
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-1454693866.1-87710459703937/vmware_host; rm -rf "/root/.ansible/tmp/ansible-tmp-1454693866.1-87710459703937/" > /dev/null 2>&1
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693943.8-75870536677834 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693943.8-75870536677834 )" )
localhost PUT /tmp/tmpVB81f2 TO /root/.ansible/tmp/ansible-tmp-1454693943.8-75870536677834/vmware_host
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-1454693943.8-75870536677834/vmware_host; rm -rf "/root/.ansible/tmp/ansible-tmp-1454693943.8-75870536677834/" > /dev/null 2>&1
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693991.56-163414752982563 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693991.56-163414752982563 )" )
localhost PUT /tmp/tmpFB7VQB TO /root/.ansible/tmp/ansible-tmp-1454693991.56-163414752982563/vmware_host
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-1454693991.56-163414752982563/vmware_host; rm -rf "/root/.ansible/tmp/ansible-tmp-1454693991.56-163414752982563/" > /dev/null 2>&1
changed: [foundation-vcsa -> localhost] => (item=foundation-esxi-01) => {"changed": true, "invocation": {"module_args": {"cluster_name": "Foundation", "datacenter_name": "Test-Lab", "esxi_hostname": "cscesxtmp001", "esxi_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "esxi_username": "root", "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "username": "root"}, "module_name": "vmware_host"}, "item": "foundation-esxi-01", "result": "'vim.HostSystem:host-15'"}
changed: [foundation-vcsa -> localhost] => (item=foundation-esxi-02) => {"changed": true, "invocation": {"module_args": {"cluster_name": "Foundation", "datacenter_name": "Test-Lab", "esxi_hostname": "cscesxtmp002", "esxi_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "esxi_username": "root", "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "username": "root"}, "module_name": "vmware_host"}, "item": "foundation-esxi-02", "result": "'vim.HostSystem:host-20'"}
changed: [foundation-vcsa -> localhost] => (item=foundation-esxi-03) => {"changed": true, "invocation": {"module_args": {"cluster_name": "Foundation", "datacenter_name": "Test-Lab", "esxi_hostname": "cscesxtmp003", "esxi_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "esxi_username": "root", "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "username": "root"}, "module_name": "vmware_host"}, "item": "foundation-esxi-03", "result": "'vim.HostSystem:host-21'"}

```
9 years ago
Joseph Callen 56559ebc35 Resolves issue with vmware_dvs_host 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_dvs_host module.

@kamsz reported this issue in https://github.com/ansible/ansible-modules-extras/pull/1568

Playbook
```
- name: Add Host to dVS
      local_action:
        module: vmware_dvs_host
        hostname: "{{ mgmt_ip_address }}"
        username: "{{ vcsa_user }}"
        password: "{{ vcsa_pass }}"
        esxi_hostname: "{{ hostvars[item].hostname }}"
        switch_name: dvSwitch
        vmnics: "{{ dvs_vmnic }}"
        state: present
      with_items: groups['foundation_esxi']
```
Module Testing
```
TASK [Add Host to dVS] *********************************************************
task path: /opt/autodeploy/projects/emmet/site_deploy.yml:234
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454694039.6-259977654985844 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454694039.6-259977654985844 )" )
localhost PUT /tmp/tmpGrHqbd TO /root/.ansible/tmp/ansible-tmp-1454694039.6-259977654985844/vmware_dvs_host
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-1454694039.6-259977654985844/vmware_dvs_host; rm -rf "/root/.ansible/tmp/ansible-tmp-1454694039.6-259977654985844/" > /dev/null 2>&1
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454694058.76-121920794239796 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454694058.76-121920794239796 )" )
localhost PUT /tmp/tmpkP7DPu TO /root/.ansible/tmp/ansible-tmp-1454694058.76-121920794239796/vmware_dvs_host
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-1454694058.76-121920794239796/vmware_dvs_host; rm -rf "/root/.ansible/tmp/ansible-tmp-1454694058.76-121920794239796/" > /dev/null 2>&1
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454694090.2-33641188152663 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454694090.2-33641188152663 )" )
localhost PUT /tmp/tmp216NwV TO /root/.ansible/tmp/ansible-tmp-1454694090.2-33641188152663/vmware_dvs_host
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-1454694090.2-33641188152663/vmware_dvs_host; rm -rf "/root/.ansible/tmp/ansible-tmp-1454694090.2-33641188152663/" > /dev/null 2>&1
changed: [foundation-vcsa -> localhost] => (item=foundation-esxi-01) => {"changed": true, "invocation": {"module_args": {"esxi_hostname": "cscesxtmp001", "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "switch_name": "dvSwitch", "username": "root", "vmnics": ["vmnic2"]}, "module_name": "vmware_dvs_host"}, "item": "foundation-esxi-01", "result": "None"}
changed: [foundation-vcsa -> localhost] => (item=foundation-esxi-02) => {"changed": true, "invocation": {"module_args": {"esxi_hostname": "cscesxtmp002", "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "switch_name": "dvSwitch", "username": "root", "vmnics": ["vmnic2"]}, "module_name": "vmware_dvs_host"}, "item": "foundation-esxi-02", "result": "None"}
changed: [foundation-vcsa -> localhost] => (item=foundation-esxi-03) => {"changed": true, "invocation": {"module_args": {"esxi_hostname": "cscesxtmp003", "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "switch_name": "dvSwitch", "username": "root", "vmnics": ["vmnic2"]}, "module_name": "vmware_dvs_host"}, "item": "foundation-esxi-03", "result": "None"}
```
9 years ago
Joseph Callen 56c1ce3df1 Resolves issue with vmware_dvs_portgroup 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_dvs_portgroup module.

@kamsz reported this issue in https://github.com/ansible/ansible-modules-extras/pull/1568

Playbook
```
- name: Create Management portgroup
      local_action:
        module: vmware_dvs_portgroup
        hostname: "{{ mgmt_ip_address }}"
        username: "{{ vcsa_user }}"
        password: "{{ vcsa_pass }}"
        portgroup_name: Management
        switch_name: dvSwitch
        vlan_id: "{{ hostvars[groups['foundation_esxi'][0]].mgmt_vlan_id }}"
        num_ports: 120
        portgroup_type: earlyBinding
        state: present
```

Module Testing
```
TASK [Create Management portgroup] *********************************************
task path: /opt/autodeploy/projects/emmet/tasks/deploy/dvs_network.yml:17
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693809.13-142252676354410 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693809.13-142252676354410 )" )
localhost PUT /tmp/tmpeQ8M1U TO /root/.ansible/tmp/ansible-tmp-1454693809.13-142252676354410/vmware_dvs_portgroup
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-1454693809.13-142252676354410/vmware_dvs_portgroup; rm -rf "/root/.ansible/tmp/ansible-tmp-1454693809.13-142252676354410/" > /dev/null 2>&1
changed: [foundation-vcsa -> localhost] => {"changed": true, "invocation": {"module_args": {"hostname": "172.27.0.100", "num_ports": 120, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "portgroup_name": "Management", "portgroup_type": "earlyBinding", "state": "present", "switch_name": "dvSwitch", "username": "root", "vlan_id": 2700}, "module_name": "vmware_dvs_portgroup"}, "result": "None"}
```
9 years ago
Joseph Callen 9093c02446 Resolves issue with vmware_dvswitch 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_dvswitch module.

@kamsz reported this issue in https://github.com/ansible/ansible-modules-extras/pull/1568

Playbook
```
- name: Create dvswitch
      local_action:
        module: vmware_dvswitch
        hostname: "{{ mgmt_ip_address }}"
        username: "{{ vcsa_user }}"
        password: "{{ vcsa_pass }}"
        datacenter_name: "{{ mgmt_vdc }}"
        switch_name: dvSwitch
        mtu: 1500
        uplink_quantity: 2
        discovery_proto: lldp
        discovery_operation: both
        state: present
```
Module Testing
```
TASK [Create dvswitch] *********************************************************
task path: /opt/autodeploy/projects/emmet/tasks/deploy/dvs_network.yml:3
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693792.01-113207408596014 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693792.01-113207408596014 )" )
localhost PUT /tmp/tmptb3e2c TO /root/.ansible/tmp/ansible-tmp-1454693792.01-113207408596014/vmware_dvswitch
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-1454693792.01-113207408596014/vmware_dvswitch; rm -rf "/root/.ansible/tmp/ansible-tmp-1454693792.01-113207408596014/" > /dev/null 2>&1
changed: [foundation-vcsa -> localhost] => {"changed": true, "invocation": {"module_args": {"datacenter_name": "Test-Lab", "discovery_operation": "both", "discovery_proto": "lldp", "hostname": "172.27.0.100", "mtu": 1500, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "switch_name": "dvSwitch", "uplink_quantity": 2, "username": "root"}, "module_name": "vmware_dvswitch"}, "result": "'vim.dvs.VmwareDistributedVirtualSwitch:dvs-9'"}
```
9 years ago
Joseph Callen df7e3b081e Resolves issue with vmware_cluster 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_cluster module.

@kamsz reported this issue in https://github.com/ansible/ansible-modules-extras/pull/1568

Playbook
```
    - name: Create Cluster
      local_action:
        module: vmware_cluster
        hostname: "{{ mgmt_ip_address }}"
        username: "{{ vcsa_user }}"
        password: "{{ vcsa_pass }}"
        datacenter_name: "{{ mgmt_vdc }}"
        cluster_name: "{{ mgmt_cluster }}"
        enable_ha: True
        enable_drs: True
        enable_vsan: True
```

Module testing
```
TASK [Create Cluster] **********************************************************
task path: /opt/autodeploy/projects/emmet/site_deploy.yml:188
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693788.92-14097560271233 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454693788.92-14097560271233 )" )
localhost PUT /tmp/tmpAJfdPb TO /root/.ansible/tmp/ansible-tmp-1454693788.92-14097560271233/vmware_cluster
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-1454693788.92-14097560271233/vmware_cluster; rm -rf "/root/.ansible/tmp/ansible-tmp-1454693788.92-14097560271233/" > /dev/null 2>&1
changed: [foundation-vcsa -> localhost] => {"changed": true, "invocation": {"module_args": {"cluster_name": "Foundation", "datacenter_name": "Test-Lab", "enable_drs": true, "enable_ha": true, "enable_vsan": true, "hostname": "172.27.0.100", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "username": "root"}, "module_name": "vmware_cluster"}}
```
9 years ago
Daniel Petty a1c2cb0a2e Fix indent 9 years ago
Rene Moser c32569d7f8 cloudstack: cs_instance: implement updating security groups
ACS API implemented in 4.8, has no effect < 4.8.
9 years ago
Rene Moser c73ed3b47b cloudstack: add new module cs_resourcelimit 9 years ago
Rene Moser 9f97615060 cloudstack: new module cs_configuration 9 years ago
Rene Moser db31914f58 cloudstack: use CS_HYPERVISORS from cloudstack utils 9 years ago
Matt Martz d2e3909443 Fix DOCUMENTATION for ec2_vpc_dhcp_options.py and add missing RETURN to ec2_vol_facts.py 9 years ago
Brian Coca 9aac5784d3 Merge pull request #1565 from mjschultz/welex91
Ensure that port_path is split into at most 2 components.
9 years ago
Brian Coca a2532862d8 Merge pull request #1330 from joelthompson/feature/ec2_vpc_dhcp_options
Add new ec2_vpc_dhcp_options module
9 years ago
Brian Coca 20caf29213 Merge pull request #1113 from shawnsi/vpc-route-table-continued
Additional check mode fixes for ec2_vpc_route_table module
9 years ago
Brian Coca 7e81c60c96 corrected version added 9 years ago
Brian Coca 76feff5b4d Merge pull request #1109 from wimnat/feature/ec2_vol_facts
New module - ec2_vol_facts
9 years ago
Joseph Callen 37d36a5533 Fixed documentation 9 years ago
Joseph Callen 2fc15c5d2b Resolves issue with vmware_vswitch 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.

Playbook
```yaml
   - name: Add a temporary vSwitch
      local_action:
        module: vmware_vswitch
        hostname: "{{ inventory_hostname }}"
        username: "{{ esxi_username }}"
        password: "{{ site_passwd }}"
        switch_name: temp_vswitch
        nic_name: "{{ vss_vmnic }}"
        mtu: 1500
```

Module Testing
```bash
TASK [Add a temporary vSwitch] *************************************************
task path: /opt/autodeploy/projects/emmet/tasks/deploy/esxi_network.yml:13
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454342817.37-180776062017566 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454342817.37-180776062017566 )" )
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454342817.41-201974997737598 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454342817.41-201974997737598 )" )
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454342817.44-148446986849801 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454342817.44-148446986849801 )" )
localhost PUT /tmp/tmpLLExSG TO /root/.ansible/tmp/ansible-tmp-1454342817.37-180776062017566/vmware_vswitch
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-1454342817.37-180776062017566/vmware_vswitch; rm -rf "/root/.ansible/tmp/ansible-tmp-1454342817.37-180776062017566/" > /dev/null 2>&1
localhost PUT /tmp/tmpyoAaHt TO /root/.ansible/tmp/ansible-tmp-1454342817.41-201974997737598/vmware_vswitch
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-1454342817.41-201974997737598/vmware_vswitch; rm -rf "/root/.ansible/tmp/ansible-tmp-1454342817.41-201974997737598/" > /dev/null 2>&1
localhost PUT /tmp/tmpPcmaMZ TO /root/.ansible/tmp/ansible-tmp-1454342817.44-148446986849801/vmware_vswitch
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-1454342817.44-148446986849801/vmware_vswitch; rm -rf "/root/.ansible/tmp/ansible-tmp-1454342817.44-148446986849801/" > /dev/null 2>&1
changed: [foundation-esxi-01 -> localhost] => {"changed": true, "invocation": {"module_args": {"hostname": "foundation-esxi-01", "mtu": 1500, "nic_name": "vmnic1", "number_of_ports": 128, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "switch_name": "temp_vswitch", "username": "root"}, "module_name": "vmware_vswitch"}}
changed: [foundation-esxi-02 -> localhost] => {"changed": true, "invocation": {"module_args": {"hostname": "foundation-esxi-02", "mtu": 1500, "nic_name": "vmnic1", "number_of_ports": 128, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "switch_name": "temp_vswitch", "username": "root"}, "module_name": "vmware_vswitch"}}
changed: [foundation-esxi-03 -> localhost] => {"changed": true, "invocation": {"module_args": {"hostname": "foundation-esxi-03", "mtu": 1500, "nic_name": "vmnic1", "number_of_ports": 128, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "switch_name": "temp_vswitch", "username": "root"}, "module_name": "vmware_vswitch"}}

```

Documentation fix
9 years ago
Baptiste Mille-Mathias a11220228c fix typo
conainerization => containerization
9 years ago
Toshio Kuratomi 36be779888 Remove duplicate documentation fields 9 years ago
Sumit Roy acc51c2944 Ensure that port_path is split into at most 2 components.
cloudstack: cs_instance: fix do not require name to be set to avoid clashes

Require one of display_name or name. If both is given, name is used as identifier.

cloudstack: fix name is not case insensitive

cloudstack: cs_template: implement state=extracted

Update f5 validate_certs functionality to do the right thing on multiple python versions

This requires the implementation in the module_utils code here
https://github.com/ansible/ansible/pull/13667 to funciton

fixed domain_id to actually be supported

also added domain as an alias
alt fixes #1437

Simplify the code and remove use_unsafe_shell=True

While there is no security issue with this shell snippet, it
is better to not rely on shell and avoid use_unsafe_shell.

Fix for issue #1074. Now able to create volume without replica's.

Improved fix for #1074. Both None and '' transform to fqdn.

Fix for ansible-modules-extras issue #1080
9 years ago
Brian Coca 33213dbc24 Merge pull request #1508 from RajeevNambiar/devel
Update sts_assume_role.py for showing the correct example syntax role…
9 years ago
Brian Coca 65686221af Merge pull request #1488 from robbwagoner/ec2-elb-facts-with-instance-health
Include instance states (InService or OutOfService) as ELB facts
9 years ago
David Shrewsbury 2d7ebf0b1c Add new os_flavor_facts.py module
New module to retrieve facts about existing instance flavors.
By default, facts on all available flavors will be returned.
This can be narrowed by naming a flavor or specifying criteria
about flavor RAM or VCPUs.
9 years ago
Rob White 0d86bc8d6b Add missing doc fragments 9 years ago
Shawn Siefkas ddcc15a60f Fixing check mode support for vpc route tables
Loop compatibility for dry run exception handling

Route table deletion dry run handler

Fixing regression in propagating_vgw_ids default value

Adjusting truthiness of changed attribute for route manipulation

Updating propagating_vgw_ids default in docstring
9 years ago
David Shrewsbury 4094154afa Add os_group.py OpenStack module
Allows an admin (or privileged user) to manage Keystone v3
groups.
9 years ago
David Shrewsbury 46b4622eba Fix exception output for os_keystone_domain.
The message attribute of a shade exception is not very helpful.
Converting to a full string will contain many more details.
9 years ago
David Shrewsbury b1d6c33712 Add new os_keystone_role module.
This new module allows for creating and deleting Keystone
roles.
9 years ago
Brian Coca e9450df878 Merge pull request #1486 from resmo/for-ansible
[2.0.1] cloudstack: fixes and improvements
9 years ago
David Shrewsbury f798240f43 Update Keystone Domain module for latest shade 9 years ago
Monty Taylor 02e91f8897 Extract module for keystone domain management 9 years ago
Haneef Ali b65bd39615 Ansible module for Keystone V3 API
Change-Id: I9db323cc9e5a42353cab5cf4be6e22449cef8542
9 years ago
RajeevNambiar 57a6a98cd9 Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name
Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name. session_name is not a valid property.
9 years ago
Chrrrles Paul 570869ef48 Merge pull request #1487 from chrrrles/vmware_doc_fragments
use doc fragments
9 years ago
Robb Wagoner 4be856a40c InService percent key as literal percent (i.e 50, not .5) 9 years ago
Robb Wagoner 3226ad4284 Include instance states (InService or OutOfService) as ELB facts 9 years ago
Charles Paul 0ba3d85522 use doc fragments 9 years ago
Brian Coca 2813675b6f Merge pull request #1469 from Constantin07/update_elb_ec2_facts
ec2_elb_facts - Print explicit error cause when no ELBs are found in AWS
9 years ago
Brian Coca 61bb39be71 Merge pull request #1466 from stepanstipl/fix-route53_facts_hosted_zone_id
Fix: route53_facts hosted_zone_id boto error
9 years ago
Brian Coca 3aa2d3744d Merge pull request #1482 from ansible/json-imports-fallback
Update for modules which import json.
9 years ago
Rene Moser 2984c13035 cloudstack: cs_portforward: fix missing return and remove unused arg 9 years ago
Brian Coca 91c4558545 Merge pull request #1363 from wimnat/feature/eni_facts_secondary_addresses
Add secondary addresses to facts
9 years ago
Brian Coca aa95a81005 added version info on autodetection feature 9 years ago
Brian Coca c0922d4d32 Merge pull request #1146 from frogu/proxmox_lxc_support
add lxc support, without dropping openvz
9 years ago
Toshio Kuratomi 7e56a66ef6 Really disable RETURN 9 years ago
Toshio Kuratomi 816bfd6990 Disable RETURNS because the approved module doesn't have a RETURNS that is buildable 9 years ago
Toshio Kuratomi 759e4f2f24 Merge pull request #952 from Java1Guy/ecs_service_module
cloud amazon ECS service modules
9 years ago
Toshio Kuratomi d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
9 years ago
Rene Moser 11fdb822a4 cloudstack: fixes and improvements
cs_instance: fix case insensitivity
cs_instance: remove duplicate code block
cs_securitygroup_rule: fix KeyError on older ACS
9 years ago
Constantin07 53e6e8c936 Print explicit error cause when no ELBs are found in AWS 9 years ago
Stepan Stipl 6bad06e827 Fix: route53_facts hosted_zone_id boto error
Boto is expecting parameter called "Id", not "HostedZoneId".
See
http://boto3.readthedocs.org/en/latest/reference/services/route53.html#Route53.Client.get_hosted_zone

Fixes ansible/ansible-modules-extras/#1465
9 years ago
Charles Paul 6f4aaecb6a adding no_log to password 9 years ago
Brian Coca fa11718c0f fixed domain_id to actually be supported
also added domain as an alias
alt fixes #1437
9 years ago
Toshio Kuratomi 19e496c69c Merge pull request #1395 from resmo/feature/cs_template_extract
[stable-2.0] cloudstack: cs_template: implement state=extracted
9 years ago
Toshio Kuratomi 9bae6eafee Merge pull request #1411 from resmo/fix/stable-2.0/case_insensivity
[stable-2.0] cloudstack: fix name is not case insensitive
9 years ago
Toshio Kuratomi 8f6d518a5b Merge pull request #1410 from resmo/fix/stable-2.0/cs_instance
[stable-2.0] cloudstack: cs_instance: fix do not require name to be set to avoid c…
9 years ago
Brian Coca 6efa406b6f added examples to route53_zone
fixes #1061
9 years ago
Joel Thompson 736321001f Add new ec2_vpc_dhcp_options module
This module manages EC2 DHCP options for a given VPC. It allows you to
specify all the options which AWS allows you to set in a DHCP option
set.
9 years ago
Michael Scherer 2f3dc1352f Replace choices=BOOLEANS by type='bool', fix #1326 9 years ago
Rene Moser 06f6a5375e cloudstack: fix name is not case insensitive 9 years ago
Rene Moser 15b14f8109 cloudstack: cs_instance: fix do not require name to be set to avoid clashes
Require one of display_name or name. If both is given, name is used as identifier.
9 years ago
Rene Moser 56fb7abc65
cloudstack: cs_volume: simplify detach on state=absent 9 years ago
Rene Moser 182cbbd4f7 cloudstack: cs_template: implement state=extracted 9 years ago
Gauvain Pocentek 652676cf95 Add an __init__.py file in openstack/
The os_project module doesn't get installed if the __init__ file doesn't
exist in the repository.
9 years ago
Brian Coca 577b930df9 Merge pull request #1335 from resmo/fix/1321
[next]: cloudstack: fixes and improvements
9 years ago
Rene Moser 99385de340 cloudstack: fixes and improvements
cloudstack: fix python3 support and use type='bool'

cloudstack: cs_instance: update vm on state=restored
9 years ago
Rene Moser 480db37583 cloudstack: cs_volume fixes and improvments
cloudstack: cs_volume:  fix not usable in older cloudstack versions

affects CCP 4.3.0.2 , but not ACS / CCP 4.5.1
closes #1321

cloudstack: cs_volume: fix uable to create volumes with the same name on multiple zones

cloudstack: cs_volume: use type bool and fix python3 support
9 years ago
Rene Moser a0a19e16ff cloudstack: cs_instance: fixes and improvements
- cs_instance: fix VM not updated with states given stopped, started, restarted
  A missing VM will be created though but an existing not updated. This fixes the lack of consistency.

- cs_instance: fix user data can not be cleared

- cs_instance: fix deleted VM not recovered on state=present
9 years ago
Brian Coca 5601c1338a Merge pull request #1288 from resmo/fix/cs_facts_docs
cloudstack: cs_facts: fix wrong description of returns cloudstack_pub…
9 years ago
Brian Coca cbe0211f3d Merge pull request #1294 from resmo/feature/cs_instance_restore
cloudstack: cs_instance: implement state=restored
9 years ago
Brian Coca 0e9c9e759a Merge pull request #1341 from s1lv3r40/doc_fix
Doc fix on route53_health_check.py and ec2_vpc_route_table.py.
9 years ago
Matthew Jones c157dbe55a Fix up vsphere_copy after open_url change
* Remove leading module parameter on open_url call as it's no longer used
  by module_utils.urls.open_url
* Force basic auth otherwise vsphere will just return a 401
9 years ago
Rob 1b0250125a Add secondary addresses to facts 9 years ago
Chrrrles Paul 0ee578e938 Changing docs to reflect vm_name as the default vm_id_type 9 years ago
Brian Coca fabafe9aa8 Merge pull request #1325 from wimnat/feature/issue-1323
Added missing else statement that caused existing rules to be discarded
9 years ago
Charles Paul 7ded482e6c pep8 whitespace 9 years ago
Charles Paul 51813e0033 upped version added, search by vm_name by default 9 years ago
Chrrrles Paul 415ab8d046 Merge pull request #1319 from ritzk/vmware-execute-local-process
vmware_vm_shell: add the ability to start program without network connection
9 years ago
Toshio Kuratomi cbed642009 Simplify code 9 years ago
Brian Coca 2ce866f759 corrected version added to 2.1 9 years ago
Brian Coca 43b63c36fd Merge pull request #973 from wimnat/feature/ec2_vpc_net_facts
New module - ec2_vpc_net_facts
9 years ago
Vladimir Dimov de672f1ab2 Doc fix ec2_vpc_route_table.py 9 years ago
Vladimir Dimov 9ba686f8e6 Doc fix on route53_health_check.py. Fixed first example. Should be register instead of record. 9 years ago
Atsushi Sasaki 91d3c02571 Enable to resize a volume with cs_volume 9 years ago
Rene Moser 8ec66713d9 cloudstack: fixes and improvements
- cs_affinitygroup: add project support
  Project support in CloudStack for affinity groups is going to be fixed/implemented in the near future, this module should already support.

- cs_affinitygroup:  fix missing returns in doc

- cs_volume: fix disk offering not found

- cs_volume: fix volume not found if created with display_volume=no

- cs_firewall: argument zone is missing, default zone is always used.
  credits for reporting and fixing to @atsaki
  closes #1320

- cs_instance: fix user_data base64 encoding fails if not a string
9 years ago
Rob 186fe2babc Added missing else statement that caused existing rules to be discarded 9 years ago
Ritesh Khadgaray 426e76dddb vmware_vm_shell: add the ability to start program without network connection 9 years ago
Toshio Kuratomi 3c4f954f0f Don't raise or catch StandardError in amazon modules 9 years ago
Rene Moser f2eb00cc71 cloudstack: cs_instance: implement state=restored 9 years ago
Rene Moser b7ca7d15ac cloudstack: cs_facts: fix wrong description of returns cloudstack_public_ipv4, cloudstack_public_hostname
Also see http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.6/api.html#user-data-and-meta-data
9 years ago
Brian Coca 0c1d20865d Merge pull request #1250 from resmo/for-ansible
cloudstack: new module cs_volume
9 years ago
Rene Moser 87065005aa cloudstack: new module cs_volume 9 years ago
Brian Coca cde758332a Merge pull request #971 from atplanet/bug/vpc-subnet-tag-values-not-updating
Ensure tag values get updated in ec2_vpc_subnet
9 years ago
Brian Coca 2775be99d3 Merge pull request #1268 from ryansydnor/s3_bucket
Use boto normalized location for bucket creation
9 years ago
Toshio Kuratomi b87e3ce362 Quote strings that make the module docs fail to build 9 years ago
Toshio Kuratomi 19374903ac Switch StrictVersion for LooseVersion since some distros ship
beta versions and StrictVersion would fail on that.

Also clean up some minor style things
9 years ago
Toshio Kuratomi d3f0d3880c Merge pull request #444 from olsaki/devel
Add docker_login module
9 years ago
Olaf Kilian c629d5b013 Add requirement and check for compatible version of docker-py 9 years ago
Olaf Kilian 66964f660a Set no_log for password argument 9 years ago
Ryan Sydnor a56fe04683 Use boto normalized location for bucket creation
If a bucket is being created in us-east-1, the module passed
'us-east-1' to boto's s3.create_bucket method rather than
Location.DEFAULT (an empty string). This caused boto to generate
invalid XML which AWS was unable to interpret.
9 years ago
Alberto Gireud c9e4c32f41 Fix return documentation 9 years ago
Brian Coca aa859f6331 Merge pull request #1220 from agireud/os_project
Add openstack project module
9 years ago
Toshio Kuratomi e52e015791 Documentation fixes 9 years ago
Toshio Kuratomi 949610bbce Merge pull request #1202 from joelthompson/feature/sns_topic
Add sns_topic module to manage AWS SNS topics
9 years ago
Alberto Gireud b01f083ec3 Add openstack project module 9 years ago
Etherdaemon 1ee6962c93 Add new module to allow for getting and listing of Route53 relevant details 9 years ago
Joel Thompson 437a62836f Add sns_topic module to manage AWS SNS topics
This adds an sns_topic module which allows you to create and delete AWS
SNS topics as well as subscriptions to those topics.
9 years ago
wimnat a21d935e66 Prevent ec2_remote_facts from failing when listing a terminated instance 9 years ago
Brian Coca dd3a2b2e30 Merge pull request #1089 from wimnat/feature/ec2_remote_facts_refactor
Refactor ec2_remote_facts to use filters
9 years ago
Brian Coca 80f198a82f added missing : to docs 9 years ago
Toshio Kuratomi 4bf75fca9f Merge pull request #788 from ansible/open_url-vsphere-copy
Port vsphere_copy from httplib to open_url for TLS cert validation
9 years ago
Rene Moser d589a2ea12 cloudstack: cs_portforward: fix example does not match description 9 years ago
Brian Coca f4fd9a4639 Merge pull request #1136 from CenturylinkTechnology/minor-changes-and-bug-fixes
Bug fixes and minor enhancements to CenturyLink cloud modules
9 years ago
Matteo Acerbi fdffa55496 Fix docs for ec2_vpc_route_table
The documentation pointed to vpc_peering_connection, not vpc_peering_connection_id.
9 years ago
Olaf Kilian 98b21ee7f3 Improve registry key parity between clients
* Don't extract hostname part from docker_url since this leads to
  docker CLI client not recognizing Docker Hub credentials set by
  docker_login module anymore (looks for the full URL as a key).
9 years ago
Olaf Kilian 988be3458d Rework change detection 9 years ago
Olaf Kilian 9d39885d18 Adapt to new dockercfg file location and structure 9 years ago
Siva Popuri 8b7c3677fd added author to module doc string. 9 years ago
Olaf Kilian ef64423683 Make module importable for unit tests 9 years ago
Olaf Kilian c3d15a56cf Set default for email parameter to None 9 years ago
Olaf Kilian e86131c62f Add requirement for python >= 2.6 9 years ago
Olaf Kilian 85cc47c9e1 Default registry to docker hub 9 years ago
Łukasz Proszek a30a1eef86 add lxc support, without dropping openvz 9 years ago
Brian Coca b65a583902 added version_added to new feature, removed unused aliases 9 years ago
Brian Coca 6342d35c48 Merge pull request #1082 from daniel-sc/devel
configurable timeout for creating gce image
9 years ago
whiter 89f8e249fa Refactor ec2_remote_facts to use filters 9 years ago
Siva Popuri e8fe9167d7 Added RETURN doc string for all modules and few minor enhancements. 9 years ago
Chrrrles Paul 405c3cb2c7 tpyo in doc string 9 years ago
Brian Coca eeeb1264d3 Merge pull request #1090 from wimnat/feature/eni_facts_filters
Use filters attribute rather than eni id
9 years ago
Toshio Kuratomi b60d6e754b Fix doc build by moving misplaced CIDR documentation 9 years ago
Rene Moser c142bf0d44 cloudstack: add new loadbalancer rule modules 9 years ago
Brian Coca 618ed0012c Merge pull request #1046 from shawnsi/vpc-route-table
Check mode support for VPC route table creation
9 years ago
Brian Coca 7ca42c0bc0 Merge pull request #730 from CenturylinkTechnology/clc_aa_policy
clc_aa_policy : the ansible module to manage anti affinity policies in centurylink cloud
9 years ago
Brian Coca e8a919943c Merge pull request #731 from CenturylinkTechnology/clc_alert_policy
clc_alert_policy : the ansible module to manage alert policies in centurylink cloud
9 years ago
Brian Coca a64649bf76 Merge pull request #781 from CenturylinkTechnology/clc_server_snapshot
clc_server_snapshot: Ansible module for managing server snapshots in Centurylink Cloud
9 years ago
wimnat aef2b929c9 New module - ec2_vol_facts 9 years ago
Toshio Kuratomi 8ce3104bc5 Convert from dos line endings to unix because dos line endings break our documentation build. 9 years ago
whiter 62cd2d9c18 Use filters attribute rather than eni id so facts can be filtered on much more. Matches the new ec2_vpc_route_table_facts and ec2_vpc_subnet_facts modules 9 years ago
Rob 5f3f15fbc0 Use doc fragment and fix examples 9 years ago
Shawn Siefkas dbdd2475e6 Handling dry run exception 9 years ago
Charles Paul 51bb65c9a3 reference instance_id in docs, fixes for calls to fail_json 9 years ago
daniel-sc dbb0bcd9e4 configurable timeout for creating gce image 9 years ago
Brian Coca 205115ea1f updated to use shared region docs from ec2 9 years ago
Matt Martz abf7ee579e sys.exit removal for cloud/google/gce_img.py and cloud/google/gce_tag.py 9 years ago
Matt Martz 55dab7cd1b sys.exit removal for cloud/misc/ovirt.py 9 years ago
Matt Martz b82ebdde19 sys.exit removal for cloud/xenserver_facts.py 9 years ago
Matt Martz d89ca8cc01 Merge pull request #1058 from sivel/xenserver-imports
Switch from old style replacer code to new style for ansible.module_utils.basic
9 years ago
Matt Martz 6732181a39 Switch from old style replacer code to new style for ansible.module_utils.basic 9 years ago
Matt Martz 1a76f4cc22 Fix interpreter line in a few vmware modules 9 years ago
Rick Mendes 2cc18b8780 added missing license 9 years ago
Greg DeKoenigsberg b69362647a Merge pull request #1011 from resmo/feature/args_specs
cloudstack: implement common argument spec handling
9 years ago
Greg DeKoenigsberg beb362dd11 Merge pull request #633 from loia/feature/aws_sqs
Add new Amazon SQS module
9 years ago
Greg DeKoenigsberg a4c2928712 Merge pull request #783 from wimnat/feature/ec2_vpc_subnet_facts
New module - ec2_vpc_subnet_facts
9 years ago
Greg DeKoenigsberg 9447bf9c6f Merge pull request #1008 from privateip/vca_vapp
cleaned up vca_vapp module to focus on managing vapps
9 years ago
Greg DeKoenigsberg 2e588d8fc5 Merge pull request #1014 from resmo/for_ansible
cloudstack: fix redundant security_group return
9 years ago
Greg DeKoenigsberg ed2708827d Merge pull request #963 from sgzijl/391-append-missing-dot
issue #931 append dot to zone if not defined
9 years ago
Shawn Siefkas 6186da08ef Check mode support for VPC route table creation 9 years ago
Mark Chance 0147a89957 fix, update the documentation of the modules 9 years ago
Toshio Kuratomi 4cf2c5555e Fix for errors in the generated rst 9 years ago
Toshio Kuratomi 953d382aa5 docs fixes 9 years ago
Brian Coca bc07c3b504 Merge pull request #1024 from andybak/patch-2
Fix existing_mailbox check
9 years ago
Mark Chance 73382f4574 WIP documentation update 9 years ago
Benno Joy f3a9a92ffe remove facts and fix docs for taskdefinition module 9 years ago
Benno Joy f4f52119b3 Merge pull request #951 from Java1Guy/ecs_task_module
cloud amazon ECS task modules
9 years ago
Benno Joy 936a2db7f1 Merge pull request #949 from Java1Guy/ecs_taskdefinition_module
cloud amazon ECS task definition module
9 years ago
Benno Joy 6c0a830962 Merge pull request #950 from Java1Guy/ecs_cluster_module
cloud amazon ECS cluster module
9 years ago
Andy Baker 0ab8c9383d Fix existing_mailbox check 9 years ago
Brian Coca 8b83aa4c50 Merge pull request #643 from zimbatm/route53-health-check
route53_health_check: new module
9 years ago
Rene Moser bcfe75a52d cloudstack: fix redundant security_group return 9 years ago
Rene Moser faa575afb5 cloudstack: implement common argument spec handling 9 years ago
Peter Sprygada 0f90661752 cleaned up vca_vapp module to focus on managing vapps 9 years ago
Gerard Lynch 401bb3f10d minor doc fix 9 years ago
Mark Chance b9aef8beb2 add author tag in doc 9 years ago
Mark Chance ff4c000451 add author tag in doc 9 years ago
Mark Chance 1a653d4921 add author tag in doc 9 years ago
Mark Chance d3de924981 add author tag in doc 9 years ago
Chrrrles Paul 6950db5d01 Merge pull request #991 from privateip/vca_nat
updated vca_nat module to use common vca library
9 years ago
Chrrrles Paul 2476fe8325 Merge pull request #992 from privateip/vca_vapp
refactor vca_vapp to use vca common module
9 years ago
Chrrrles Paul 608067417e Merge pull request #993 from privateip/vca_fw
refactored vca_fw to use vca common module
9 years ago
Rob bc560617c1 Tolerate missing classic_link_enabled attribute 9 years ago
Brian Coca 3d07eb5419 Merge pull request #941 from resmo/feature/cs_user
cloudstack: new module cs_user
9 years ago
Peter Sprygada fedef0c958 refactor vca_vapp to use vca common module 9 years ago
Peter Sprygada 71ecaeb9f0 refactored vca_fw to use vca common module 9 years ago
Peter Sprygada a4f1653b95 updated vca_nat module to use common vca library 9 years ago
Jérémie Astori 0c74601ea5 Fix tpyo 9 years ago
James Cammarata 4c59101825 Merge pull request #961 from resmo/feature/cs_account
cloudstack: cs_account improvements
9 years ago
Rob d1c15d6c84 Documentation fixup 9 years ago
whiter 767605122a New module - ec2_vpc_net_facts 9 years ago
Tom Bamford 65c41451f0 Ensure tag values get updated in ec2_vpc_subnet 9 years ago
Siert Zijl 57f9b735f3 #931 append dot to zone if not defined 9 years ago
Rene Moser c419dabe12 cloudstack: cs_account re-factor error handling state=present 9 years ago
Rene Moser 67bc8e9fda cloudstack: cs_account: create account for states locked/disabled/enabled if not present 9 years ago
Rene Moser 462c90eb54 cloudstack: cs_account: add state unlocked as alias for enabled 9 years ago
Rene Moser 578dbe1d37 cloudstack: new module cs_user 9 years ago
Rene Moser 6bd40787ce cloudstack: fix templates not always have checksums
It is not documented but it seems only registered templates have checksums. Templates created from VMs and snapshot don't.

This change fixes the traceback. But we must re-thinking, if it still makes sense to look for the checksum.
9 years ago
Brian Coca 5a39c5ed0d Merge pull request #948 from steynovich/patch-1
Update route53_zone.py
9 years ago
Evan Carter 604578cfcc fixing hang after creation 9 years ago
Mark Chance dca0d4a08c update version, fix fail msgs 9 years ago
Mark Chance 158b9b664d update version, fix fail msgs 9 years ago
Mark Chance 4524cc1e27 update version, fix fail msgs 9 years ago
Mark Chance de95580f66 fix docs, enhance fail msgs 9 years ago
Mark Chance 03cd38e7ab cloud amazon ECS task definition module 9 years ago
Mark Chance f802fc2ce3 cloud amazon ECS cluster module 9 years ago
Mark Chance a5083a4a17 cloud amazon ECS task modules 9 years ago
Mark Chance f478530803 cloud amazon ECS service modules 9 years ago
steynovich bdfb67ae28 Update route53_zone.py
Proposed fix for issue #940

Fix: Include common AWS parameters in module arguments
9 years ago
Brian Coca 6ba52c694d Merge pull request #924 from resmo/for-ansible
cloudstack: cs_account: fix error handing on state=absent
9 years ago
Peter Sprygada 356e867721 adds missing serialize_instance function 9 years ago
Bret Martin e5fdbc25a2 Only wait for ENI attachment at creation when instance_id is specified 9 years ago
Toshio Kuratomi a55dbb717c Try to revert the pieces of #651 that @willthames and @erydo requested 9 years ago
Toshio Kuratomi 70568aa242 Merge pull request #651 from wimnat/feature/ec2_vpc_igw
Fixed incorrect connect_to_aws call
9 years ago
Rene Moser 6e2b97427b cloudstack: cs_account: fix error handing on state=absent 9 years ago
Toshio Kuratomi 6a3cf63351 correct documentation formatting 9 years ago
Brian Coca a9d5392b71 fixed option description 9 years ago
Brian Coca 12f8f125cf Merge pull request #918 from dbhirko/devel
ec2_vpc_igw.py changed boto connection obejct to vpc
9 years ago
Brian Coca 4a6285b774 Merge pull request #886 from DazWorrall/feature/cs_instance_custom
Add support for custom service offerings
9 years ago
Brian Coca 00ba47e4ed Merge pull request #718 from wimnat/feature/s3_lifecycle
New module - s3_lifecycle
9 years ago
Brian Coca 2ca3a8112b Merge pull request #842 from stelligent/devel
fixes issue creating table when no range_key_name is defined
9 years ago
dbhirko 041d6f6077 Change boto connection object from ec2 to vpc
Issue 906 - ec2_vpc_igw has incorrect connection parameters
9 years ago
Toshio Kuratomi 903d209071 Merge pull request #896 from resmo/for-ansible
cloudstack: add api_region arg
9 years ago
Brian Coca f2c6d9f9a7 Merge pull request #597 from wimnat/feature/ec2_vpc_route_table
Feature/ec2 vpc route table
9 years ago
whiter 65d3a3be59 Remove debug print statement. Fixed ensure_propagation call to pass 'route_table' and 'connection'. 9 years ago
Rene Moser 0c1257b0c1 cloudstack: cs_instance: deploy instance in desired state on state=started/stopped
Before this change, an instance must be present for make use of state=stopped/started. Now we are deploying an instance in the desire state if it does not exist.

In this case all args needed to deploy the instance must be passed. However the short form for stopping/starting an _existing_ instance still works as before.
9 years ago
Brian Coca 9e8f24ff47 Merge pull request #898 from resmo/feature/temlate-cross-zones
cloudstack: cs_template: add new arg cross_zones
9 years ago
whiter 506d1df22c Documentation examples fix 9 years ago
Rene Moser 52a3d99873 cloudstack: add api_region arg
* docs in module_docs_fragments/cloudstack.py
* implemented in module_utils/cloudstack.py -> https://github.com/ansible/ansible/pull/12083
9 years ago
Rene Moser 2dc67f7c6b cloudstack: cs_template: add new arg cross_zones 9 years ago
whiter a2fb8edb3c Added option to specify tags or route-table-id, quoted doc strings, added more detail to returned route table object, numerous minor fixes 9 years ago
Bret Martin 96e4194588 Don't enable route propagation on a virtual gateway with propagated routes 9 years ago
Bret Martin 29ce49e84f Don't attempt to delete routes using propagating virtual gateways 9 years ago
Bret Martin 271cbe833e Call ensure_propagation() with the retrieved route table ID 9 years ago
Bret Martin 954f48f28a Don't check original_association_ids since it is not set, per comment above 9 years ago
Bret Martin 546858cec9 Correct enable_vgw_route_propagation test_run parameter to dry_run 9 years ago
Rob White 3e02c0d3d9 Blank aliases removed 9 years ago
whiter 3527aec2c5 Changed to use "connect_to_aws" method 9 years ago