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
Brian Coca
edf519a0c2
moar quotes
2015-05-14 09:37:00 -04:00
Brian Coca
8acc31e1d3
Merge pull request #282 from mhite/bigip_session_state
...
Added session and monitor state enabling/disabling
2015-05-13 19:34:53 -04:00
Brian Coca
b285bb072f
Revert "Add enabled/disabled support to bigip_node"
2015-05-13 19:34:05 -04:00
Greg DeKoenigsberg
14853a20f3
Replacing twitter id with github id
2015-05-13 19:30:11 -04:00
Greg DeKoenigsberg
41589b8643
Formatting to author field
2015-05-13 19:26:18 -04:00
Greg DeKoenigsberg
4aec44b861
Adding author's github id
2015-05-13 19:25:07 -04:00
Greg DeKoenigsberg
4f40f91b78
Adding author's github id
2015-05-13 19:24:01 -04:00
Greg DeKoenigsberg
79ee13b542
Adding author's github id
2015-05-13 19:22:21 -04:00
Greg DeKoenigsberg
bc64d4654f
Adding author's github id
2015-05-13 19:21:32 -04:00
Greg DeKoenigsberg
6e1077eabc
Adding author's github id
2015-05-13 19:20:31 -04:00
Greg DeKoenigsberg
3ece7b153e
Adding author's github id
2015-05-13 19:19:17 -04:00
Greg DeKoenigsberg
cab4a24653
Adding author's github id
2015-05-13 19:18:03 -04:00
Greg DeKoenigsberg
a564122100
Adding author's github id
2015-05-13 19:16:34 -04:00
Greg DeKoenigsberg
4996f64612
Adding author's github id
2015-05-13 19:12:39 -04:00
Greg DeKoenigsberg
9800126a6e
Adding author's github id
2015-05-13 18:03:06 -04:00
Greg DeKoenigsberg
2440e230e5
Adding author's github id
2015-05-13 17:30:26 -04:00
Greg DeKoenigsberg
321ad3b474
Adding author's github id
2015-05-13 17:29:08 -04:00
Greg DeKoenigsberg
b8e648536a
Adding author's github id
2015-05-13 17:28:43 -04:00
Greg DeKoenigsberg
c859c8a61d
Adding author's github id
2015-05-13 17:27:49 -04:00
Greg DeKoenigsberg
a6cd986533
Adding author's github id
2015-05-13 17:25:25 -04:00
Greg DeKoenigsberg
06dc55bd5f
Adding author's github id
2015-05-13 17:25:02 -04:00
Greg DeKoenigsberg
fab87ebb48
Adding author's github id
2015-05-13 17:24:32 -04:00
Brian Coca
916cc17acf
minor doc fixes
2015-05-13 14:02:57 -04:00
Brian Coca
7f29609e8e
Merge pull request #288 from mhite/bigip_pool_member_session_monitor_state
...
Support for monitor and session state manipulation added to bigip_pool_m...
2015-05-13 13:57:28 -04:00
Brian Coca
2f4fa76298
Merge pull request #402 from ndonegan/devel
...
sys.exit used, but not imported.
2015-04-16 15:15:22 -04:00
Niall Donegan
b125d2685a
Handle missing module with fail_json
2015-04-15 17:07:18 +01:00
Niall Donegan
b4ad532248
sys.exit used, but not imported.
2015-04-15 16:15:31 +01:00
Sébastien Gross
7c9217a8f7
[lldp] Merge wrapped lines.
...
Some devices return their description on multiple lines such as:
lldp.eth0.chassis.descr=cisco CISCO7609-S running on
Cisco IOS Software, c7600s72033_rp Software (c7600s72033_rp-IPSERVICESK9-M), Version 12.2(33)SRE3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Wed 26-Jan-11 06:54 by prod_rel_team
The generated fact will result as:
"descr": "cisco CISCO7609-S running on"
This patch fixes the line wrapping to return the full description
handling line breaks:
"descr": "cisco CISCO7609-S running on\nCisco IOS Software, c7600s72033_rp Software (c7600s72033_rp-IPSERVICESK9-M), Version 12.2(33)SRE3, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2011 by Cisco Systems, Inc.\nCompiled Wed 26-Jan-11 06:54 by prod_rel_team"
2015-04-08 18:33:40 +02:00
Brian Coca
4048de9c1e
Merge pull request #373 from andyhky/add_failover
...
bigip_facts: Add missing 'device' option
2015-04-03 17:49:31 -04:00
Andy Hill
3431275921
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.
2015-04-02 13:44:07 -04:00
Jesse Keating
f86ce495c7
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.
2015-03-26 11:27:22 -07:00
Brian Coca
5293f452b5
corrected version added
2015-03-25 22:04:44 -04:00
Brian Coca
eef2a95f96
Merge pull request #334 from msabramo/bigip_disable_ssl_cert_verification
...
Add `verify` param; set false to ignore SSL cert
2015-03-25 21:46:11 -04:00
Marc Abramowitz
513724c0a5
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
2015-03-23 23:54:48 -07:00
Chad Norgan
8c94dd8b47
Ignore lines that do not have the key in them
...
Some switches return multi-line output, which breaks the split function,
the change seeks to only preform the split on a line that has the key.
2015-02-27 11:19:44 -06:00
Matt Hite
0cad9ee0bf
Support for monitor and session state manipulation added to bigip_pool_member module
2015-02-25 15:48:19 -08:00
Matt Hite
e9c12bd8c5
Added session and monitor state enabling/disabling
2015-02-24 16:55:22 -08:00
Matt Hite
a7e1f86b8b
Another potential fix for issue 109; now catches WebFault
2015-02-21 11:29:35 -08:00
Matthew Landauer
19b0c83819
Handle MX,NS,TXT records correctly and don't assume one record type per name
2015-02-18 14:22:15 +11:00
Matthew Landauer
fa2df8c7d5
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-02-18 14:22:15 +11:00
Matthew Landauer
671571b1e1
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-02-18 14:22:14 +11:00
Matthew Landauer
14b62bb32a
Fix display of error message
...
It was crashing due to "domain" variable not being defined
2015-02-18 14:22:14 +11:00
Brian Coca
4109bfda49
removed unused import json which breaks 2.4/simplejson compat
2015-02-17 13:37:41 -05:00
James Barwell
2ec916ad38
Fix argument parsing to module constructor
...
- Change to remove kwargs in a97d1016dc
did not remove arguments passed in to the constructor.
2015-02-06 09:39:17 +00:00
Brian Coca
9f88bdb7f5
moved version added
2014-12-09 12:29:28 -05:00
Brian Coca
a97d1016dc
minor cleanup, removing unused/redundant code, cleaned some comments, slight reformating in class to
...
remove kwargs
2014-12-09 09:06:04 -05:00
Brian Coca
82aaaa4152
Merge pull request #23 from ravibhure/devel
...
Added module haproxy, to handle enable/disable backend server with shutdown_sessions feature in haproxy.
2014-12-09 08:51:07 -05:00
Ravi Bhure
d4a096f7ff
Recorded the changes suggested by brian coca
2014-12-07 02:29:16 -07:00
Brian Coca
cf215dbac4
minor doc tweaks to snmp_facts
2014-12-06 18:58:23 -05:00
Ravi Bhure
44b2cdb5f2
used ansible conventions to use trigered action ==> state,
...
now only two states are available enabled/disabled_
get weight for backend server, is default behavior for both state,
supports set weight while enable server in lb pool
2014-12-05 11:44:43 -07:00
Jason Holland
1011565282
Fix small issue with wrapping syntax
2014-12-04 16:15:23 -06:00
Jason Holland
797d8893d6
Fix some logical issues with enabling/disabling a server on the A10.
2014-12-04 16:14:11 -06:00
Ravi Bhure
bcbe945a41
Instead of action [enable_server,disable_server] we prefer to use state [enabled,disabled] [FIXED]
...
misplaced the checkmode support (#L146) [FIXED]
no need to check if host is not set as the argument spec (#L138), it should already complain about that [FIXED]
2014-12-03 08:14:35 -07:00
Ravi Bhure
78365ecf06
updated version 1.9 and
...
moved haproxy module to network category
2014-12-01 19:20:53 -07:00
Brian Coca
68bd8a55ae
Merge pull request #99 from ogenstad/devel
...
Snmp module for Ansible
2014-12-01 13:59:48 -05:00
ogenstad
24822322d4
1.9
2014-12-01 19:39:49 +01:00
ogenstad
d4069bbc71
added_version -> 1.9 and file move
2014-12-01 19:34:39 +01:00
Michael Warkentin
691e424587
Fix typo: authenicate
-> authenticate
2014-11-11 12:16:00 -05:00
Michael DeHaan
1e777bb508
Fix rename error.
2014-11-04 17:27:51 -05:00
Michael DeHaan
73123b69fa
Move modules into subdirectory.
2014-09-26 09:23:50 -04:00
James Cammarata
1ef592ff00
Push the expanduser call on the source down to slurp rather than fetch
...
Also moves the calculation of the destination file name until after
the slurp of the file contents, since the source as returned by slurp
may now be different, so we want to use that expanded path locally.
Fixes #8942
2014-09-23 15:32:07 -05:00
Will Thames
25c5250025
get_url module: Add timeout parameter
2014-09-08 13:58:25 +10:00
George Yoshida
cd0dae890c
For content-disposition response header field, try to parse filename parameter even if it's not quoted.
2014-08-23 12:10:45 +09:00
Brian Coca
ac14a8d6ad
unified calls to fs function vs duplicate functions for file and
...
directory
2014-05-24 09:28:45 -04:00
James Cammarata
a9c2eefd06
Remove erroneous set of status_code causing a traceback in module uri
...
Fixes #7416
2014-05-16 08:49:08 -05:00
Christian Berendt
bbcfda8c18
[get_url] check against lowered stripped sha256sum
...
The content of the sha256sum attribute should be lowered before comparing it with the calculated sha256sum.
In the following example the used sha256sum uses ABC.. and not abc.. and the check failed. This should not happen.
```
TASK: [get_url url=http://ftp.fau.de/apache/hadoop/common/hadoop-2.4.0/hadoop-2.4.0.tar.gz dest=/home/vagrant/hadoop-2.4.0.tar.gz mode=0644 sha256sum=024326AC68A1A68B5566B10F95609EAAFD9F70CFEB37FCA0E97CBB1674E57C3A] ***
failed: [instance000] => {"failed": true}
msg: The SHA-256 checksum for /home/vagrant/hadoop-2.4.0.tar.gz did not match 024326AC68A1A68B5566B10F95609EAAFD9F70CFEB37FCA0E97CBB1674E57C3A; it was 024326ac68a1a68b5566b10f95609eaafd9f70cfeb37fca0e97cbb1674e57c3a.
FATAL: all hosts have already failed -- aborting
```
2014-05-06 18:27:43 +02:00
James Cammarata
89d61b8a7d
Add parameters to get_url for the url username/password
...
Fixes #6928
2014-04-24 00:26:50 -05:00
James Tanner
c69608cbe6
Fixes #6857 Make the url parameter required for get_url
2014-04-04 16:36:38 -04:00
Michael DeHaan
b06f5162cd
Example cleanup.
2014-04-02 17:32:44 -04:00
Sven Schliesing
898346a468
Update uri
2014-03-31 14:32:56 +02:00
Sven Schliesing
d193e5571d
Example for queueing build in Jenkins
2014-03-31 14:32:07 +02:00
Michael DeHaan
eb1c37c6e1
Merge pull request #6649 from picsolvebryan/devel
...
Accept status code from a list of valid codes.
2014-03-28 11:49:04 -04:00
bryan hunt
dff1fd3b37
Accept status code from a list of valid codes.
...
(cast the list of acceptable codes to a list of int )
2014-03-24 14:23:18 +00:00
bryan hunt
eb9ac9308c
Accept status code from a list of valid codes.
2014-03-24 14:17:36 +00:00
bryan hunt
5561fbc427
Accept status code from a list of valid codes.
2014-03-24 13:51:44 +00:00
James Cammarata
c68be8b418
Remove validate_certs parameter from fetch_url calls
2014-03-12 10:31:01 -05:00
James Cammarata
a1b1182662
Validate SSL certs accessed through urllib*
...
* Adds another module utility file which generalizes the
access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.
Fixes #6211
2014-03-10 16:06:52 -05:00
James Cammarata
09eaa0c920
Fixing the unicode issue in uri for EL6 platforms
...
Fixes #5869
2014-02-25 13:04:05 -06:00
James Cammarata
0c33cc19bb
Handle unicode content in the uri module properly
...
Fixes #5869
2014-02-24 23:34:17 -06:00
Richard Isaacson
acf0e408ae
Merge pull request #5826 from romeotheriault/fix_follow_redirects
...
A fix for uri module regarding following redirects. The old behavior would follow redirects either way. This change clarifies the functionality and makes it a bit more explicit. Comparing the old behavior to the new 'yes' == 'all', 'no' == 'safe' and now 'no' will not follow any redirects. Historic behavior is still supported and documented with a push to the new values.
2014-02-07 11:36:51 -06:00
Eric Hanchrow
837d8e19b9
Clarify doc for get_url
...
Move a sentence from doc for the "force" option to that for the "dest" option.
2014-02-05 10:58:48 -08:00
James Cammarata
b8356b525a
When force=yes, get_url should always download the specified file
...
This is accomplished by not setting the If-Modified-Since header,
and setting "cache-control: no-cache" instead. Note that if the
file content has not changed, the module will still report that
changed=false, as the md5's of the tmp file and existing file are
compared before swapping
Fixes #5104
2014-02-05 11:56:05 -06:00
Pedro Romano
b04f197113
Allow the 'PATCH' method in the 'uri' module since 'httplib2' allows it
...
and some APIs require it.
2014-02-02 20:53:52 +00:00
Romeo Theriault
863bba498c
fix following redirects
2014-01-29 14:04:53 -10:00