Commit Graph

7667 Commits (d27110b8df2af53d0565328231e5ac3b8c780364)
 

Author SHA1 Message Date
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
Brian Coca bec32094ae Merge pull request #1577 from bmillemathias/patch-2
fix typo
9 years ago
Jiri Tyr 7f918b375f Adding params option into the yumrepo module 9 years ago
Baptiste Mille-Mathias a11220228c fix typo
conainerization => containerization
9 years ago
Thierno IB. BARRY 18729791ce update doc for proxy support
Update documentation to add proxy section
9 years ago
Thierno IB. BARRY 1066a7b4e3 Elasticsearch: Add proxy support
Add proxy support for plugin installation.
9 years ago
Thierno IB. BARRY aaa34b03c1 Add ES 2.x support
Add compatibility between ES 1.x and ES 2.x.

bin/plugin install | remove [plugin_name] works on ES 1.x and ES 2.x
9 years ago
Brian Coca fff5ae6994 Merge pull request #1567 from danieljakots/devel
fix the spelling of vim's flavor in the example
9 years ago
Daniel Jakots d24721f651 fix the spelling of vim's flavor in the example 9 years ago
Toshio Kuratomi 36be779888 Remove duplicate documentation fields 9 years ago
Brian Coca eaec3cb45f Merge pull request #1564 from dalees/devel
Fix regression of #821 in puppet of show_diff
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
Dale Smith 27cd172900 Fix regression of #821 in puppet of show_diff
Issue #821 fix: 1382576100
Regressed since: 6912ca0aca

Issue: #821
9 years ago
Mstislav Bobakov c4aa5ee024 Add custom parameter for a sensu_check. revert newline 9 years ago
Mstislav Bobakov 6ef3697c52 Add custom parameter for a sensu_check. Fixes.
JSON replaced within dict.
Added more docs.
9 years ago
Brian Coca 7eb3d6e15b Merge pull request #1559 from apenney/more-fixes
DOCS: Fix package list for nmcli module.
9 years ago
Ashley Penney 25262c2238 Fix package list for nmcli module.
There was a missing package that causes this to fail.
9 years ago
Brian Coca 3ed8a2ff67 Merge pull request #1558 from apenney/fix-mtu-docs
Change example to include ethernet as the type.
9 years ago
Ashley Penney f5bfc4f9e9 Change example to include ethernet as the type. 9 years ago
Brian Coca cecff17de3 Merge pull request #1513 from AbletonDevTools/devel
Fix #1512 add missing property in win_firewall_rule
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 ffefe5dde8 Merge pull request #1505 from Yannig/devel_fix_pvcreate
Use -f when pvcreate to avoid interactive input.
9 years ago
Brian Coca 98eeb689ce Merge pull request #1514 from doalitic/iptables-fix-append_csv
iptables: fix param check in append_csv function
9 years ago
Brian Coca a7ad0bc7be Merge pull request #1499 from specnazzz/fix-seport-ports
seport module fails when the `ports` argument is a integer
9 years ago
Brian Coca ec8bf56448 Merge pull request #1493 from abulimov/filesystem_recreate_with_force
Allow recreation of same FS with force=yes in filesystem module
9 years ago
Brian Coca 1f2b6bf3fd Merge pull request #1492 from alxgu/filesystem_idemponent
Make fileystem module idemponent. Compare devicesize and filesystemsize.
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
Brian Coca 6dfad7d157 Merge pull request #923 from mliudev/fix-rabbitmq_user-list_users
Check that the current output from 'list_users' command contains a '\t'.
9 years ago
Brian Coca 7286ff5024 Merge pull request #1546 from wimnat/feature/missing-doc-fragment
Add missing doc fragments
9 years ago
Matt Martz e13942f9c5 Merge pull request #1522 from sivel/expect-repetition
Add functionality to give multiple iterative responses for a question
9 years ago
Vincent VAN HOLLEBEKE ce3e972ce8 Do not fail when action is delete and volume is not present
This prevents failing when a playbook describes a volume deletion and
is launched more that once.

Without this fix, if you run the playbook a second time, it will fail.
9 years ago
Rob White 0d86bc8d6b Add missing doc fragments 9 years ago
Marian Rusu 09268b1a48 Enable managing multiple user permissions rules from one shot
One of inconvinence this address is the the fact that
you have to pass user's tags even if you just want to
add a permission rule

Signed-off-by: Marian Rusu <rusumarian91@gmail.com>
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
Brian Coca d02e26c38f Merge pull request #1544 from colynn/devel
fixed python 2.4 compatibility
9 years ago
colynn.liu 9b981cecc6 fixed python 2.4 compatibility
nf=tempfile.NamedTemporaryFile(delete=False)
TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
9 years ago
Chad Nelson 0c2f602788 Doc wrongly indicates permanent is required
But it isn't. :)
9 years ago
Mstislav Bobakov 8e35db0e38 Add custom parameter for a sensu_check 9 years ago
Matt Martz 9476366d4e Add functionality to give multiple iterative responses for a question in expect 9 years ago
Matt Martz e8427cb32a Merge pull request #1521 from Shrews/os_keystone_domain
Fix exception output for os_keystone_domain.
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
Brian Coca ad2208c7b5 Merge pull request #1201 from bonds/devel
add ports support to openbsd_pkg
9 years ago
Brian Coca e9450df878 Merge pull request #1486 from resmo/for-ansible
[2.0.1] cloudstack: fixes and improvements
9 years ago
Brian Coca 174bef08ae Merge pull request #1133 from lightblu/devel
Check to make sure the firewalld client is connected before proceeding
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
Scott Bonds 2b69a2b14c add python 2.5 requirement and ansible 2.1 version_added 9 years ago
Daniel Vigueras 16d17d287f iptables: fix param check in append_csv function 9 years ago