Commit Graph

38 Commits (107c25729350b213134a92a075d4f9db082eefe1)

Author SHA1 Message Date
Tim Rupp a13141413a Adds the __main__ conditional check (#2098)
As is done in other ansible modules, this adds the __main__ check
to the module so that the module code itself can be used as a library.
For instance, when testing the code.
2016-12-08 11:34:09 -05:00
Matt Hite a0b483746e Fixes issue #1992 -- fixes issue adding and deleting pools (#1994) 2016-12-08 11:34:04 -05:00
Matt Hite d2d4001dc5 New preserve_node parameter to skip unreferenced node removal 2016-12-08 11:34:04 -05:00
Matt Hite 846a538648 Allow port 0 as a valid pool member port 2016-12-08 11:34:01 -05:00
Jason Witkowski 48931065e5 The current module supporting F5 BIGIP pool creation does not support a setup where the port number must be zero to signify the pool will listen on multiple ports. This change implements that functionality and fixes an illogical conditional. 2016-12-08 11:34:01 -05:00
mxpt user 0798bfe2dc Fixing typo in bigip_monitors Correcting set_template_int_property to set_template_integer_property 2016-12-08 11:33:54 -05:00
Tim Rupp 6ef0c71523 Fixes missing validate_certs parameter
The bigip_api method was changed in the module_utils function definition
to include the validate_certs option but the bigip_virtual_server module
was not updated accordingly. This patch updates the method so that the
error message below is not returned to the user

received exception: bigip_api() takes exactly 4 arguments (3 given)
2016-12-08 11:33:48 -05:00
Toshio Kuratomi 255c4b01a8 Remove duplicate documentation fields 2016-12-08 11:33:46 -05:00
Toshio Kuratomi b8e95535c2 Add a returns section for bigip_virtual-server 2016-12-08 11:33:42 -05:00
Toshio Kuratomi e1bf46a32a Fix documentation build 2016-12-08 11:33:42 -05:00
Toshio Kuratomi 0d66ac6f6f Update the version_added to 2.1 2016-12-08 11:33:42 -05:00
Etienne CARRIERE e85519a967 Developpement of enabled/disabled state 2016-12-08 11:33:42 -05:00
Etienne CARRIERE 824d57e852 Apply changes according to the review 2016-12-08 11:33:42 -05:00
Etienne CARRIERE 292e0a2275 Take review comments in accounts (pull request :582) 2016-12-08 11:33:42 -05:00
Etienne CARRIERE c51c36d8d7 Add "Default Persistence profile" support 2016-12-08 11:33:42 -05:00
Etienne CARRIERE 3c06b968bc Rework on Exception management 2016-12-08 11:33:42 -05:00
Etienne CARRIERE 37cb6519af Localize exceptions for F5 LTM virtual server module 2016-12-08 11:33:42 -05:00
Etienne CARRIERE ed3a2ca136 Factor F5 virtual_server module with the common functions 2016-12-08 11:33:42 -05:00
Etienne CARRIERE 0fb56e4c5b Creation of bigip_virtual_server module 2016-12-08 11:33:42 -05:00
Toshio Kuratomi 6a02b17a2e 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
2016-12-08 11:33:41 -05:00
Michael Perzel f84dc8fd5d Improve example wide_ip variable 2016-12-08 11:33:26 -05:00
Michael Perzel 9c8891740c Wrap main() in conditional 2016-12-08 11:33:26 -05:00
Michael Perzel 21425f36ef Update bigip_api method to use variable name server 2016-12-08 11:33:26 -05:00
Michael Perzel 6681a5b386 Style updates 2016-12-08 11:33:26 -05:00
Michael Perzel ca0d4aad52 Module for managing F5 wide ip 2016-12-08 11:33:26 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Etienne CARRIERE 22c04c2b9c Factor common functions for F5 modules 2016-12-08 11:32:47 -05:00
Brian Coca a7b46316c1 removed executable bit 2016-12-08 11:32:42 -05:00
Toshio Kuratomi efc63d9c40 Update module_utils "import" to the new-style
Fixes #505
2016-12-08 11:32:41 -05:00
Brian Coca 2753cd186a moar quotes 2016-12-08 11:32:39 -05:00
Matt Hite b9e545e661 Added session and monitor state enabling/disabling 2016-12-08 11:32:39 -05:00
Brian Coca 4a3fc5ac85 Revert "Add enabled/disabled support to bigip_node" 2016-12-08 11:32:38 -05:00
Matt Hite 12db261d50 Support for monitor and session state manipulation added to bigip_pool_member module 2016-12-08 11:32:38 -05:00
Andy Hill d72734ed47 bigip_facts: Add missing "device" option
The device option was already implemented but omitted from docs and allowed
choices. With the addition of device, a devices failover_state can be
determined.
2016-12-08 11:32:32 -05:00
Jesse Keating dce3597782 Add enabled/disabled support to bigip_node
This allows one to enable or disable a node, useful for when doing
maintenance on a node to prevent connections from being attempted to it.

This will completely disable the node for any pool it might be in.
2016-12-08 11:32:30 -05:00
Marc Abramowitz 128cf5fd74 Add `validate_certs` param to bigip_* modules
Ignoring SSL cert verification may be necessary when testing with a
server that has a self-signed certificate.

See
https://github.com/ansible/ansible-modules-extras/pull/288#issuecomment-85196736
2016-12-08 11:32:28 -05:00
Matt Hite d4b996203a Another potential fix for issue 109; now catches WebFault 2016-12-08 11:32:26 -05:00
Michael DeHaan ee87304fb8 Fix rename error. 2016-12-08 11:32:19 -05:00