Commit Graph

121 Commits (f4715032a9f3ce8b00b0240f57b7237038e33bb2)

Author SHA1 Message Date
Brian Coca 8e255afbec switched to 'support check mode' as it does not make changes and gathers information that might be needed for other tasks to check 2016-12-08 11:33:31 -05:00
Rene Moser 83021279a1 new module ipify_facts 2016-12-08 11:33:31 -05:00
ogenstad 7c6175af3d lookupMib=False for pysnmp 4.3.0 2016-12-08 11:33:29 -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
Brian Coca ae84177514 switched to use module loggigng 2016-12-08 11:33:24 -05:00
Mark Hamilton 7f52951ee0 removed extra syslog message and DOCUMENTATION variable 2016-12-08 11:33:18 -05:00
Mark Hamilton de7ba0a08c using module.get_bin_path to find ovs-vsctl 2016-12-08 11:33:18 -05:00
Mark Hamilton 8957d5371a Module provides support for manipulating openvswitch tables 2016-12-08 11:33:17 -05:00
Brian Coca 69f4ac7504 better short description for a10 modules 2016-12-08 11:33:10 -05:00
Bill Nottingham 5f189d807c Add lldpctl to requirements. 2016-12-08 11:33:09 -05:00
Mark Hamilton 16ce963948 removed syslog import 2016-12-08 11:33:04 -05:00
Mark Hamilton 24375f5d22 Changed syntax to support python2.4. Allow external_ids to be None. 2016-12-08 11:33:04 -05:00
Mark Hamilton fdec957d36 removed syslog. Generalized external id concept. Now user can add or remove multiple external ids. Added documenation about fail_main parameter. 2016-12-08 11:33:03 -05:00
Mark Hamilton 0b37a6d391 Add support for external_id and fail_mode. Updated syntax to pass pep8 v1.6.2 and pylint v0.25.0 2016-12-08 11:33:03 -05:00
Toshio Kuratomi a4859e1087 Clean up unneeded urllib2 imports 2016-12-08 11:33:01 -05:00
Mark Hamilton dccee8bcd4 removed syslog.openlog 2016-12-08 11:33:01 -05:00
Mark Hamilton 67de0aba08 Added version_added and default to new parameters external_ids and set. Generalized external_ids to handle any parameter. 2016-12-08 11:33:01 -05:00
Mark Hamilton 77d2ef2b1b Added support to assign attached mac address interface id and port options. Updated code to pass pep8 v1.6.2 pylint v0.25.0. 2016-12-08 11:33:01 -05:00
Jeff Geerling 0500cf602e Make HAProxy module documentation a little easier to read. 2016-12-08 11:33:01 -05:00
Gerrit Germis 450186fe45 wait_interval default value did not match the documented value 2016-12-08 11:32:54 -05:00
Gerrit Germis c35e70953d specify int parameter types for wait_interval and wait_retries 2016-12-08 11:32:54 -05:00
Toshio Kuratomi 16bd2c7357 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
2016-12-08 11:32:52 -05:00
Gerrit Germis 47633753db added version_added: "2.0" to new parameters 2016-12-08 11:32:51 -05:00
Gerrit Germis c659f19e25 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 2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg 313352c845 Add author data 2016-12-08 11:32:50 -05:00
Brian Coca 50bf780709 fixed doc issues 2016-12-08 11:32:50 -05:00
Chris Long dab27eb089 Fixed descriptions to all be lists replaced enabled with autoconnect - refactored code to reflect update. removed ansible syslog entry. 2016-12-08 11:32:50 -05:00
Chris Long 2f9ad910af Updated as per bcoca's comments: removed 'default' in state: removed defunct action: removed reference to load_platform_subclass changed cname to conn_name 2016-12-08 11:32:50 -05:00
Chris Long 367b0e7dc8 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. 2016-12-08 11:32:50 -05:00
Etienne CARRIERE 22c04c2b9c Factor common functions for F5 modules 2016-12-08 11:32:47 -05:00
Matthew Landauer 4f0843e10b Handle MX,NS,TXT records correctly and don't assume one record type per name 2016-12-08 11:32:46 -05:00
Matthew Landauer 03f92abf8c 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
2016-12-08 11:32:46 -05:00
Matthew Landauer b79806d5d4 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
2016-12-08 11:32:46 -05:00
Matthew Landauer 1f09e32baa Fix display of error message
It was crashing due to "domain" variable not being defined
2016-12-08 11:32:46 -05:00
Jason Holland edf63b1e60 Fix small issue with wrapping syntax 2016-12-08 11:32:45 -05:00
Jason Holland b6f7a02b53 Fix some logical issues with enabling/disabling a server on the A10. 2016-12-08 11:32:45 -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 d344a3fde3 more string corrections 2016-12-08 11:32:39 -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
Greg DeKoenigsberg 2b6ed7595b Replacing twitter id with github id 2016-12-08 11:32:38 -05:00
Greg DeKoenigsberg a2b4bfa3c0 Formatting to author field 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
Niall Donegan f7d2f76976 Handle missing module with fail_json 2016-12-08 11:32:33 -05:00
Niall Donegan 9d5669e6b3 sys.exit used, but not imported. 2016-12-08 11:32:33 -05:00
Sébastien Gross 95031a8bea 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"
2016-12-08 11:32:32 -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
Chad Norgan 2091b040ff 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.
2016-12-08 11:32:27 -05:00
Matt Hite d4b996203a Another potential fix for issue 109; now catches WebFault 2016-12-08 11:32:26 -05:00
Brian Coca ed8842be47 removed unused import json which breaks 2.4/simplejson compat 2016-12-08 11:32:26 -05:00
James Barwell ce349b6c3d Fix argument parsing to module constructor
- Change to remove kwargs in a97d1016dc77186de8ad05704b6b4c141c005409
  did not remove arguments passed in to the constructor.
2016-12-08 11:32:25 -05:00
Brian Coca baf514957c moved version added 2016-12-08 11:32:22 -05:00
Brian Coca 3ef53f92eb minor cleanup, removing unused/redundant code, cleaned some comments, slight reformating in class to remove kwargs 2016-12-08 11:32:22 -05:00
Ravi Bhure 7e83da3480 Recorded the changes suggested by brian coca 2016-12-08 11:32:22 -05:00
Ravi Bhure e0f0cc4049 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 2016-12-08 11:32:22 -05:00
Ravi Bhure a1c5149de3 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] 2016-12-08 11:32:22 -05:00
Ravi Bhure 6edde18f90 updated version 1.9 and moved haproxy module to network category 2016-12-08 11:32:22 -05:00
Brian Coca 766125d585 minor doc tweaks to snmp_facts 2016-12-08 11:32:21 -05:00
ogenstad 61cf02b727 1.9 2016-12-08 11:32:21 -05:00
ogenstad 779614e9cf added_version -> 1.9 and file move 2016-12-08 11:32:21 -05:00
Michael Warkentin 45f2a6734d Fix typo: `authenicate` -> `authenticate` 2016-12-08 11:32:20 -05:00
Michael DeHaan ee87304fb8 Fix rename error. 2016-12-08 11:32:19 -05:00