Toshio Kuratomi
46a1f73778
Fix remaining centurylink modules for py3
...
Also update the imports to take advantage of the Ansiballz imports
2016-12-08 11:35:01 -05:00
Michael Scherer
8fb4fd6736
Fix pkgng on python 3
...
Fail with:
Traceback (most recent call last):
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 353, in <module>
main()
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 330, in main
_changed, _msg = install_packages(module, pkgng_path, pkgs, p[\"cached\"], p[\"pkgsite\"], dir_arg)
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 161, in install_packages
old_pkgng = pkgng_older_than(module, pkgng_path, [1, 1, 4])
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 121, in pkgng_older_than
while compare_version[i] == version[i]:
TypeError: 'map' object is not subscriptable
2016-12-08 11:35:01 -05:00
Alexandre Garnier
945ac72217
Really fix python 2.4 compatibility
...
PR #1544 didn't remove the keyword argument 'delete' not existing in `tempfile.NamedTemporaryFile()` in python 2.4
2016-12-08 11:35:01 -05:00
Steyn Huizinga
c21dd8c13b
Fix for ansible/ansible-modules-extras#3173 ( #3203 )
2016-12-08 11:35:01 -05:00
James Kassemi
f4faf9842f
Fix issue with multiple pages of results in ec2_lc_find ( #3090 )
2016-12-08 11:35:00 -05:00
Jeff
d8efe53d7c
logicmonitor: Documentation and logging updates based on feedback ( #2756 )
2016-12-08 11:35:00 -05:00
Nick Piper
491b136f6e
doc: Correction for spelling of 'azure_rm_deployment' in example ( #3212 )
2016-12-08 11:35:00 -05:00
matt colton
93627a1f0f
sl_vm: update datacenter, cpu and memory options ( #3236 )
2016-12-08 11:35:00 -05:00
Michael Scherer
4bbfe36a6e
Refactor some code in timezone module
2016-12-08 11:35:00 -05:00
Morgan Jones
be19af02f7
azure_rm_deployment: fix rg issue with _nic_to_public_ips_instance() ( #2950 )
...
Fix an issue with _nic_to_public_ips_instance() function. There was an assumption in the code that the Public IP sits in the same resource group, this isn't always the case.
2016-12-08 11:35:00 -05:00
Jonathan Sokolowski
90cc40e105
lvg: Initialise device list ( #3141 )
2016-12-08 11:35:00 -05:00
Michael Scherer
9bdb567c56
Make netscaler pass python3 sanity check
2016-12-08 11:35:00 -05:00
Michael Scherer
04996c3720
Make nmcli pass py3 sanity check
...
Cleanup include, do not use '*' for future refactoring.
Since nmcli is not present on EL5, we can safely use python
2.6 syntax only.
2016-12-08 11:35:00 -05:00
John R Barker
32c4190ac8
Remove reference to ansible-validate-modules ( #3256 )
...
ansible-validate-modules is now in ansible/ansible
During 2.3 we will be merge the modules into ansible/ansible so this file will go away.
The new testing documentation will refer to `ansible-test` which will wrap up the unit, integration, and ansible-validate-modules. So no need to document here.
2016-12-08 11:35:00 -05:00
John R Barker
3472cc6f3a
Run validate-modules from ansible/ansible ( #3242 )
...
* Run validate-modules from ansible/ansible
* Update sanity.sh
2016-12-08 11:35:00 -05:00
Tim Rupp
56147c3771
Adds module to manage SNAT pools on a BIG-IP ( #3217 )
...
This module adds the ability to manage the lifecycle of SNAT pools on a BIG-IP.
Tests for this module can be found here
https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_snat_pool/tasks/main.yaml
Platforms this was tested on are
12.1.0 HF1
2016-12-08 11:35:00 -05:00
Tim Rupp
7bfb491ba5
Adds the bigip_hostname module ( #3216 )
...
This module can be used to change the hostname on a bigip. The
hostname must be set via the tmsh or API methods or else it will
not reflect properly in the config.
Tests for this module can be found here
https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_hostname/tasks/main.yaml
Platforms this was tested on are
12.0.0
12.1.0 HF1
2016-12-08 11:35:00 -05:00
Tim Rupp
5d3dafc02e
Adds bigip_gtm_facts module ( #3232 )
...
This patch adds support for querying the GTM(DNS) facts from a
BIG-IP. This completes a previous PR that was requested but not
finished.
Tests for this module can be found here
https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_gtm_facts/tasks/main.yaml
Platforms this was tested on are
11.6.0
12.1.0 HF1
2016-12-08 11:35:00 -05:00
Michael Scherer
50b31a2343
Do not import splitter, since we do not use it
2016-12-08 11:35:00 -05:00
Michael Scherer
7f4fdba0c6
Make openvswitch* pass py3 sanity check
2016-12-08 11:35:00 -05:00
Michael Scherer
2a83eefaae
Make consul modules pass sanity test for python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
d4157095f3
Make bigpanda module pass python3 sanity check
2016-12-08 11:34:59 -05:00
Michael Scherer
9cac0b54c6
Make jabber module compile on python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
60b6cb8305
Make mail compile on python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
95929fb79f
Make postgresql module in extras compile on py3
2016-12-08 11:34:59 -05:00
Michael Scherer
6963cd8ae7
Make mongodb modules compile on python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
1bca0847a4
Make rax_clb_ssl module pass sanity check for py3
2016-12-08 11:34:59 -05:00
Michael Scherer
2ceb672016
Fix dnsmadeeasy module to pass py3 sanity check
2016-12-08 11:34:59 -05:00
Michael Scherer
b902ea297f
Make mqtt pass python3 sanity tests
2016-12-08 11:34:59 -05:00
Toshio Kuratomi
3c1dea1933
Add python-2.6 requirement to the proxmox module
2016-12-08 11:34:59 -05:00
Michael Scherer
573958bd53
Do not leak login_password when using verbose, with no_log
2016-12-08 11:34:59 -05:00
Alex
88e940a3e1
zypper: fix for checking result is None ( #3143 )
2016-12-08 11:34:59 -05:00
Michael Scherer
1948bcb9e7
Make zabbix modules compile on python 3
...
Since the module is not compatible with python 2.4, we
do not need to use the get_exception trick
2016-12-08 11:34:59 -05:00
Michael Scherer
c1f7fa2f3b
ovirt_auth: fix type and password leak ( #3119 )
...
Do not leak the password in log, and verify the path of ca_file
2016-12-08 11:34:59 -05:00
Ville Reijonen
e5688c709a
win_scheduled_task: fix days_of_week var command typo ( #3198 )
2016-12-08 11:34:59 -05:00
Michael Scherer
adc62226d4
Make dnssimple compile on python 3
2016-12-08 11:34:58 -05:00
hyperized
d815890aa6
Update irc.py ( #3144 )
...
Proposal to update the example to YAML syntax.
2016-12-08 11:34:58 -05:00
Benjamin Copeland
2796370b57
statusio_maintenance: Fix minor typo ( #3137 )
2016-12-08 11:34:58 -05:00
Jasper Lievisse Adriaanse
83a6032b7a
Remove incorrect statement, uri module doesn't require httplib2 anymore
2016-12-08 11:34:58 -05:00
Michael Scherer
8676924da5
Fix proxmox for python 3
...
Since it doesn't work on python 2.4, we can use the native
exception handling way for python 3
2016-12-08 11:34:58 -05:00
Michael Scherer
37b62a1db3
Remove gce from the blacklist for python 3 tests, forgot in #3179
2016-12-08 11:34:58 -05:00
Toshio Kuratomi
f77aa869b8
Few more places where gce modules need python3 compat exceptions
2016-12-08 11:34:58 -05:00
Michael Scherer
7ba630eda2
Make xenserver_facts compile on python 3
...
Since the xenapi is not needed on python 2.4, we can use the
regular exception handling code
2016-12-08 11:34:58 -05:00
Michael Scherer
9f5f85c9f0
Port ovirt to python 3
...
Since ovirt sdk is not running on python 2.4, we can use python 2.6
syntax directly for exceptions.
2016-12-08 11:34:58 -05:00
Michael Scherer
715b88a8a5
Make redis run on python 3
2016-12-08 11:34:58 -05:00
Michael Scherer
11d88bc1a8
Fix gce module to compile on python 3 ( #3179 )
2016-12-08 11:34:58 -05:00
Michael Scherer
da6851bdf4
Make expect module compile on python 3
2016-12-08 11:34:58 -05:00
Michael Scherer
415c2d4591
Make sensu_check compile on python 3 ( #3177 )
2016-12-08 11:34:58 -05:00
Eric D Helms
151c6d2f88
Fix broken entities reference in Katello module ( #3136 )
2016-12-08 11:34:58 -05:00
Patrik Lundin
896dec44a6
openbsd_pkg: Use correct part of name in match. ( #3151 )
...
* openbsd_pkg: Use correct part of name in match.
Previously this part of the code could assume that the name was a stem
with nothing else attached (like "autoconf"). With the introduction of the
branch syntax ("autoconf%2.13") this is no longer true.
Check if the package name was identified as using a "branch" style name,
and base the match on the leading part of the name if that is the case.
While here remove unnecessary "pass" and tidy up debug log message.
Problem reported by @jasperla.
* openbsd_pkg: Add missing "." in comment.
2016-12-08 11:34:58 -05:00