Tim Rupp
c400598332
Reverse the unpack list operation
...
Instead of doing an unpack, deliberately specify which parameters you
want to use. This allows us to flexibly add more parameters to the
f5_argument_spec without having to rewrite all the modules that use
it.
Functionally this commit changes nothing, it just provides for a
different way of accessing the parameters to the module
2016-05-04 07:50:45 +02:00
Tim Rupp
86f08bfcda
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-04-25 15:34:18 -04:00
Matt Hite
c58f5d2137
Fixes issue #1992 -- fixes issue adding and deleting pools ( #1994 )
2016-04-11 19:57:55 +02:00
Matt Hite
0405c54dba
New preserve_node parameter to skip unreferenced node removal
2016-04-11 08:00:30 +02:00
René Moser
1989b8ba57
Merge pull request #1931 from mhite/bigip_pool_member_port_0
...
Allow port 0 as a valid pool member port
2016-03-31 19:21:22 +02:00
Matt Hite
8a27e785db
Allow port 0 as a valid pool member port
2016-03-30 09:29:34 -07:00
Jason Witkowski
b7dad3494e
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-03-29 17:01:52 -04:00
Michael Gruener
46cebbb83d
cloudflare_dns: Cosmetic cleanup
2016-03-25 21:08:25 +01:00
Michael Gruener
9db7e2a455
cloudflare_dns: normalize return value and docs
2016-03-25 21:04:19 +01:00
Michael Gruener
82989ce473
cloudflare_dns: Cleanup record update handling
2016-03-25 19:41:18 +01:00
Michael Gruener
71961134be
cloudflare_dns: Allow CNAME content updates
2016-03-25 19:19:11 +01:00
Michael Gruener
396d44c4b3
cloudflare_dns: Fix solo SRV record creation
2016-03-25 18:23:52 +01:00
Michael Gruener
7477fe5141
cloudflare_dns: Fix SRV record idempotency
2016-03-25 18:07:50 +01:00
James Slagle
7dae3faf0f
Add quotes and equals for set option documentation
...
set is an option for the openvswitch_port module, however the documentation
example omitted the equals sign and quotes around the option value.
2016-03-22 07:47:05 -04:00
Michael Gruener
879410a94e
cloudflare_dns: Fix wrong variable name
2016-03-21 21:47:26 +01:00
Rene Moser
233869abc9
cloudflare_dns: minor code improvments
...
Tweaked some things on top of the well done PR #1768
- json import
- fix expetion handling
- fix indentation
2016-03-19 00:02:33 +01:00
René Moser
9811210c2c
Merge pull request #1768 from mgruener/cloudflare_dns
...
Module to manage Cloudflare DNS records
2016-03-18 23:51:48 +01:00
Michael Gruener
8b63aea89b
Module to manage Cloudflare DNS records
2016-03-18 19:22:25 +01:00
René Moser
08deed6f6c
Merge pull request #1801 from RickyCook/fix-dnsimple-fail
...
New json_fail syntax for dnsimple module
2016-03-15 22:42:48 +01:00
mxpt user
a7faa0124f
Fixing typo in bigip_monitors
...
Correcting set_template_int_property to set_template_integer_property
2016-03-11 13:16:58 -08:00
Ricky Cook
ce68b12382
New json_fail syntax for dnsimple module
2016-03-07 14:20:33 +11:00
Dag Wieers
da8c9b56a9
Fix typo
2016-02-19 02:09:51 +01:00
Brian Coca
1a00da7c49
minor docfixes
2016-02-18 09:28:21 -08:00
Tim Rupp
56a517b054
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-02-01 16:27:09 -08:00
Toshio Kuratomi
36be779888
Remove duplicate documentation fields
2016-01-28 09:20:55 -08:00
Ashley Penney
25262c2238
Fix package list for nmcli module.
...
There was a missing package that causes this to fail.
2016-01-26 13:38:44 -05:00
Ashley Penney
f5bfc4f9e9
Change example to include ethernet as the type.
2016-01-26 11:18:43 -05:00
Brian Coca
3aa2d3744d
Merge pull request #1482 from ansible/json-imports-fallback
...
Update for modules which import json.
2016-01-12 10:00:37 -05:00
Brian Coca
b7d2521245
Merge pull request #1263 from sysreq0/devel
...
Added support for DNS SRV records in 'dnsmadeeasy' module
2016-01-12 09:57:35 -05:00
Sebastien Couture
7546cab1e5
removed comment
2016-01-12 09:43:10 -05:00
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
2016-01-11 13:06:22 -08:00
Toshio Kuratomi
39c3004337
Add a returns section for bigip_virtual-server
2016-01-11 13:05:51 -08:00
Toshio Kuratomi
4ef40ab421
Fix documentation build
2016-01-11 12:56:43 -08:00
Toshio Kuratomi
6797c42821
Update the version_added to 2.1
2016-01-11 11:34:44 -08:00
Toshio Kuratomi
f5d9a0568c
Merge pull request #582 from Etienne-Carriere/f5_vs
...
Creation of F5 virtual_server module
2016-01-11 11:30:01 -08:00
Toshio Kuratomi
c67316cbaf
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
2015-12-24 11:57:15 -08:00
Matt Martz
87b0a45a85
Fix tabbed indentation in network/haproxy.py
2015-12-22 15:37:41 -06:00
autotune
c047814512
Fixed bug to recognize haproxy changes
2015-12-01 17:30:26 -08:00
Sebastien Couture
7023d87e05
Added support for DNS SRV records
2015-11-18 18:15:59 -05:00
Etienne CARRIERE
aaf16fe337
Developpement of enabled/disabled state
2015-11-18 06:52:03 +01:00
Etienne CARRIERE
be9058201f
Apply changes according to the review
2015-11-18 06:09:28 +01:00
root
63003372b4
Fixed call to module.log
2015-11-05 21:16:41 -06:00
Brian Coca
257696c0ed
switched to 'support check mode' as it does not make changes and gathers information that might be needed for other tasks to check
2015-11-02 09:31:40 -05:00
Brian Coca
3ce37c171b
Merge pull request #969 from resmo/feature/ipify
...
new module ipify_facts
2015-11-02 09:27:52 -05:00
ogenstad
2548112b46
lookupMib=False for pysnmp 4.3.0
2015-10-13 20:53:23 +02:00
Brian Coca
8903d0d968
Merge pull request #557 from perzizzle/gtm_wide_ip
...
Module for managing F5 GTM wide ip
2015-10-07 21:22:18 -04:00
Etienne CARRIERE
6cdfe07518
Take review comments in accounts (pull request :582)
2015-10-01 20:59:28 +02:00
Brian Coca
3564c48f3c
switched to use module loggigng
2015-10-01 00:29:57 -04:00
Michael Perzel
af699f8475
Improve example wide_ip variable
2015-09-21 10:18:27 -05:00
Michael Perzel
c77a4a7108
Wrap main() in conditional
2015-09-18 15:31:34 -05:00
Rene Moser
90dcc3daf9
new module ipify_facts
2015-09-16 14:34:52 +02:00
Mark Hamilton
cef26fd695
removed extra syslog message and DOCUMENTATION variable
2015-09-09 14:28:50 -07:00
Mark Hamilton
34247d2aab
using module.get_bin_path to find ovs-vsctl
2015-08-24 13:45:12 -07:00
Mark Hamilton
7ee4e68e70
Module provides support for manipulating openvswitch tables
2015-08-20 18:35:28 -07:00
Brian Coca
dd1585cfc8
better short description for a10 modules
2015-08-14 22:09:25 -04:00
Bill Nottingham
0ce060122a
Add lldpctl to requirements.
2015-08-10 16:34:41 -04:00
Brian Coca
9a771ce91a
Merge pull request #700 from markleehamilton/openvswitch-bridge-v1
...
Add support for external_id and fail_mode. Updated syntax to pass pep…
2015-07-27 13:06:17 -04:00
Toshio Kuratomi
79173ac18d
Clean up unneeded urllib2 imports
2015-07-20 23:04:27 -07:00
Brian Coca
d5dd5f461f
Merge pull request #702 from markleehamilton/openvswitch-port-v3
...
Added support to assign attached mac address interface id and port options.
2015-07-20 21:08:17 -04:00
Mark Hamilton
b51c252127
removed syslog import
2015-07-20 18:06:17 -07:00
Jeff Geerling
b781b8bda1
Make HAProxy module documentation a little easier to read.
2015-07-19 17:35:32 -05:00
Mark Hamilton
a6f3a0e0a9
Changed syntax to support python2.4. Allow external_ids to be None.
2015-07-16 10:05:59 -07:00
Mark Hamilton
90a831a828
removed syslog. Generalized external id concept. Now user can add or remove multiple external ids. Added documenation about fail_main parameter.
2015-07-14 05:17:38 -07:00
Mark Hamilton
018db7d068
removed syslog.openlog
2015-07-14 02:10:57 -07:00
Mark Hamilton
0395de2f09
Added version_added and default to new parameters external_ids and set. Generalized external_ids to handle any parameter.
2015-07-14 01:49:16 -07:00
Mark Hamilton
325ef12aee
Added support to assign attached mac address interface id and port options.
...
Updated code to pass pep8 v1.6.2 pylint v0.25.0.
2015-07-09 00:36:30 -07:00
Mark Hamilton
647cac63f1
Add support for external_id and fail_mode. Updated syntax to pass pep8 v1.6.2 and pylint v0.25.0
2015-07-08 20:45:19 -07:00
Michael Perzel
e2fc7b34a7
Update bigip_api method to use variable name server
2015-07-04 07:51:19 -05:00
Etienne CARRIERE
fc9078229c
Add "Default Persistence profile" support
2015-07-02 08:20:29 +02:00
Etienne CARRIERE
757fc291c1
Rework on Exception management
2015-07-02 07:35:19 +02:00
Etienne CARRIERE
3d9fd24d62
Localize exceptions for F5 LTM virtual server module
2015-07-01 22:26:32 +02:00
Gerrit Germis
2612da50ad
wait_interval default value did not match the documented value
2015-06-22 20:13:12 +02:00
Gerrit Germis
0ad12cdcf4
specify int parameter types for wait_interval and wait_retries
2015-06-22 20:09:54 +02:00
Toshio Kuratomi
4b29146c4d
be explicit about urllib import and remove conditional urllib(2) import
...
urllib and urllib2 have been in the python stdlib since at least
python-2.3. There's no reason to conditionalize it.
Fixes https://github.com/ansible/ansible/issues/11322
2015-06-19 09:01:08 -07:00
Gerrit Germis
5a1109229d
added version_added: "2.0" to new parameters
2015-06-18 09:11:16 +02:00
Gerrit Germis
656e1a6deb
allow wait, wait_retries and wait_interval parameters for haproxy module. This allows the haproxy to wait for status "UP" when state=enabled and status "MAINT" when state=disabled
2015-06-17 17:29:38 +02:00
Greg DeKoenigsberg
004dedba8a
Changes to author formatting, remove emails
2015-06-16 14:32:39 -04:00
Greg DeKoenigsberg
dc519fb848
Add author data
2015-06-16 12:30:47 -04:00
Brian Coca
0c6e5b9eb4
fixed doc issues
2015-06-16 11:33:17 -04:00
Etienne CARRIERE
1c6ae9333c
Factor common functions for F5 modules
2015-06-16 11:33:14 -04:00
Chris Long
389c40033b
Fixed descriptions to all be lists
...
replaced enabled with autoconnect - refactored code to reflect update.
removed ansible syslog entry.
2015-06-16 11:33:11 -04:00
Chris Long
2856116162
Updated as per bcoca's comments:
...
removed 'default' in state:
removed defunct action:
removed reference to load_platform_subclass
changed cname to conn_name
2015-06-16 11:33:10 -04:00
Chris Long
3b44082dd6
Initial commit of nmcli: NetworkManager module. Currently supports:
...
Create, modify, remove of -
team, team-slave, bond, bond-slave, ethernet
TODO:
vlan, bridge, wireless related connections.
2015-06-16 11:33:10 -04:00
Matthew Landauer
b0992a97ef
Handle MX,NS,TXT records correctly and don't assume one record type per name
2015-06-16 11:33:09 -04:00
Matthew Landauer
5ef2dd8a77
If record_name="" write empty value to dns made easy
...
This is necessary for instance when setting MX records on the root of a domain.
This is different than leaving record_name out completely which has the same
behaviour as before
2015-06-16 11:33:09 -04:00
Matthew Landauer
bdeb0bc8db
If record_value="" write empty value to dns made easy
...
This is necessary for instance when setting CNAMEs that point to the root
of the domain. This is different than leaving record_value out completely
which has the same behaviour as before
2015-06-16 11:33:09 -04:00
Matthew Landauer
3d2f19c24d
Fix display of error message
...
It was crashing due to "domain" variable not being defined
2015-06-16 11:33:09 -04:00
Jason Holland
669316195f
Fix small issue with wrapping syntax
2015-06-16 11:33:09 -04:00
Jason Holland
8383857b5a
Fix some logical issues with enabling/disabling a server on the A10.
2015-06-16 11:33:09 -04:00
Etienne CARRIERE
ca366059d3
Documentation fixes
2015-06-05 20:43:38 +02:00
Etienne CARRIERE
24ae114a2a
Factor F5 virtual_server module with the common functions
2015-06-04 08:30:32 +02:00
Etienne CARRIERE
9139ac5460
Creation of bigip_virtual_server module
2015-06-04 08:20:20 +02:00
Etienne CARRIERE
a0905a9d5e
Factor common functions for F5 modules
2015-06-03 08:22:18 +02:00
Brian Coca
d5b4b287da
Merge pull request #269 from openaustralia/dnsmadeeasy_fixes
...
dnsmadeeasy module fixes
2015-06-01 17:15:58 -04:00
Greg DeKoenigsberg
ef3bdc25b3
Merge pull request #119 from swimlappy/devel
...
Fix some logical issues with enabling/disabling a server on the A10.
2015-06-01 12:27:10 -04:00
Michael Perzel
408214d1a8
Style updates
2015-06-01 11:22:40 -05:00
Michael Perzel
fb8c2ee810
Module for managing F5 wide ip
2015-05-29 14:19:38 -05:00
Brian Coca
5187c7fcd7
removed executable bit
2015-05-21 07:03:49 -04:00
Toshio Kuratomi
576d94e8d4
Update module_utils "import" to the new-style
...
Fixes #505
2015-05-18 12:08:15 -07:00
Brian Coca
08445418aa
more string corrections
2015-05-14 10:45:32 -04:00