Commit graph

223 commits

Author SHA1 Message Date
blinkiz
b7e21d161e Update openvswitch_port with tag feature (#2522)
* Update openvswitch_port with tag feature

Possibility to create a port with VLAN tag.

* Update openvswitch_port.py
2016-07-06 07:14:31 +02:00
Tim Rupp
e0b3e2f790 Adds coding conventions to the bigip_facts module (#2515)
A number of coding conventions have been adopted for new F5 modules
that are in development. To ensure common usage across the modules,
this module needed to be updated to reflect those conventions.

No functional code changes were made.
2016-07-03 18:19:53 +02:00
Tim Rupp
4bbbad6378 Adds coding conventions for the bigip-virtual-server module (#2473)
A number of coding conventions have been adopted for new F5 modules
that are in development. To ensure common usage across the modules,
this module needed to be updated to reflect those conventions.
2016-06-29 09:09:37 +02:00
Michael Grüner
4debfcc241 cloudflare_dns: Improve error handling (#2470)
Use the new "body" field of the info dict in case of a HTTPError.
2016-06-23 22:15:55 +02:00
Tim Rupp
9d37820b08 Adds server port argument to legacy modules (#2444)
This patch adds support for the server_port module. It
additionally updates the documentation in the module for
it.

The changes were tested in the f5-ansible repository to
ensure no breaking changes were made. This argument allows
modules to be used on BIG-IPs that are listening on
non-standard ports.
2016-06-23 11:33:49 +02:00
Gerik Bonaert
df8d41ba0f Define 'type' in argument_spec of openvswitch_port (#2355)
The external_ids 'type' was not defined in the argument spec of
openvswitch_port. This lead 'external_ids' to be converted to a
string, when the value was not defined. Further down the code this
was leading to an exception in some cases. By defining the type
all is right.
2016-06-03 22:02:58 +02:00
Leandro Lisboa Penz
4497cb4874 netconf module with edit-config operation (#2103)
* netconf module with edit-config operation
2016-06-01 12:17:38 -04:00
Gerrit Germis
a003b8d081 fail when backend host is not found (#1385) 2016-05-31 12:26:25 -04:00
Adrian Likins
1e3c0ba1cf Fix bad merge of #555 (mv bigip_gtm_virtual_server) (#2302)
f5/ was the wrong directory. Move it to network/f5
and remove f5/.
2016-05-28 01:52:28 +02:00
Orion Poplawski
14a0b7b9b7 Fix gw4/gw6 typo (#1841) 2016-05-20 08:46:52 -04:00
David Keijser
7b7af3bcf9 Make it possible to manage rules of f5 vs (#1821) 2016-05-08 23:33:25 +02:00
Ben Knight
239c60ec13 Add reselect_tries option to big_pool module (#2156) 2016-05-08 23:30:04 +02:00
sebfere
85feaa6409 add monitor configuration to module "bigip_node" (#2054)
(squashed merge commits w/ new github fun, let's see if it worked)
2016-05-05 16:49:00 -07:00
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