Commit Graph

178 Commits (c0922d4d32493a34a1ece65919f0108dba919f1f)

Author SHA1 Message Date
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.
10 years ago
Matthew Landauer b0992a97ef Handle MX,NS,TXT records correctly and don't assume one record type per name 10 years ago
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
10 years ago
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
10 years ago
Matthew Landauer 3d2f19c24d Fix display of error message
It was crashing due to "domain" variable not being defined
10 years ago
Jason Holland 669316195f Fix small issue with wrapping syntax 10 years ago
Jason Holland 8383857b5a Fix some logical issues with enabling/disabling a server on the A10. 10 years ago
Etienne CARRIERE ca366059d3 Documentation fixes 10 years ago
Etienne CARRIERE 24ae114a2a Factor F5 virtual_server module with the common functions 10 years ago
Etienne CARRIERE 9139ac5460 Creation of bigip_virtual_server module 10 years ago
Etienne CARRIERE a0905a9d5e Factor common functions for F5 modules 10 years ago
Brian Coca d5b4b287da Merge pull request #269 from openaustralia/dnsmadeeasy_fixes
dnsmadeeasy module fixes
10 years ago
Greg DeKoenigsberg ef3bdc25b3 Merge pull request #119 from swimlappy/devel
Fix some logical issues with enabling/disabling a server on the A10.
10 years ago
Michael Perzel 408214d1a8 Style updates 10 years ago
Michael Perzel fb8c2ee810 Module for managing F5 wide ip 10 years ago
Brian Coca 5187c7fcd7 removed executable bit 10 years ago
Toshio Kuratomi 576d94e8d4 Update module_utils "import" to the new-style
Fixes #505
10 years ago
Brian Coca 08445418aa more string corrections 10 years ago
Brian Coca edf519a0c2 moar quotes 10 years ago
Brian Coca 8acc31e1d3 Merge pull request #282 from mhite/bigip_session_state
Added session and monitor state enabling/disabling
10 years ago
Brian Coca b285bb072f Revert "Add enabled/disabled support to bigip_node" 10 years ago
Greg DeKoenigsberg 14853a20f3 Replacing twitter id with github id 10 years ago
Greg DeKoenigsberg 41589b8643 Formatting to author field 10 years ago
Greg DeKoenigsberg 4aec44b861 Adding author's github id 10 years ago
Greg DeKoenigsberg 4f40f91b78 Adding author's github id 10 years ago
Greg DeKoenigsberg 79ee13b542 Adding author's github id 10 years ago
Greg DeKoenigsberg bc64d4654f Adding author's github id 10 years ago
Greg DeKoenigsberg 6e1077eabc Adding author's github id 10 years ago
Greg DeKoenigsberg 3ece7b153e Adding author's github id 10 years ago
Greg DeKoenigsberg cab4a24653 Adding author's github id 10 years ago
Greg DeKoenigsberg a564122100 Adding author's github id 10 years ago
Greg DeKoenigsberg 4996f64612 Adding author's github id 10 years ago
Greg DeKoenigsberg 9800126a6e Adding author's github id 10 years ago
Greg DeKoenigsberg 2440e230e5 Adding author's github id 10 years ago
Greg DeKoenigsberg 321ad3b474 Adding author's github id 10 years ago
Greg DeKoenigsberg b8e648536a Adding author's github id 10 years ago
Greg DeKoenigsberg c859c8a61d Adding author's github id 10 years ago
Greg DeKoenigsberg a6cd986533 Adding author's github id 10 years ago
Greg DeKoenigsberg 06dc55bd5f Adding author's github id 10 years ago
Greg DeKoenigsberg fab87ebb48 Adding author's github id 10 years ago
Brian Coca 916cc17acf minor doc fixes 10 years ago
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...
10 years ago
Brian Coca 2f4fa76298 Merge pull request #402 from ndonegan/devel
sys.exit used, but not imported.
10 years ago
Niall Donegan b125d2685a Handle missing module with fail_json 10 years ago
Niall Donegan b4ad532248 sys.exit used, but not imported. 10 years ago
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"
10 years ago
Brian Coca 4048de9c1e Merge pull request #373 from andyhky/add_failover
bigip_facts: Add missing 'device' option
10 years ago
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.
10 years ago
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.
10 years ago
Brian Coca 5293f452b5 corrected version added 10 years ago
Brian Coca eef2a95f96 Merge pull request #334 from msabramo/bigip_disable_ssl_cert_verification
Add `verify` param; set false to ignore SSL cert
10 years ago
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
10 years ago
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.
10 years ago
Matt Hite 0cad9ee0bf Support for monitor and session state manipulation added to bigip_pool_member module 10 years ago
Matt Hite e9c12bd8c5 Added session and monitor state enabling/disabling 10 years ago
Matt Hite a7e1f86b8b Another potential fix for issue 109; now catches WebFault 10 years ago
Matthew Landauer 19b0c83819 Handle MX,NS,TXT records correctly and don't assume one record type per name 10 years ago
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
10 years ago
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
10 years ago
Matthew Landauer 14b62bb32a Fix display of error message
It was crashing due to "domain" variable not being defined
10 years ago
Brian Coca 4109bfda49 removed unused import json which breaks 2.4/simplejson compat 10 years ago
James Barwell 2ec916ad38 Fix argument parsing to module constructor
- Change to remove kwargs in a97d1016dc
  did not remove arguments passed in to the constructor.
10 years ago
Brian Coca 9f88bdb7f5 moved version added 10 years ago
Brian Coca a97d1016dc minor cleanup, removing unused/redundant code, cleaned some comments, slight reformating in class to
remove kwargs
10 years ago
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.
10 years ago
Ravi Bhure d4a096f7ff Recorded the changes suggested by brian coca 10 years ago
Brian Coca cf215dbac4 minor doc tweaks to snmp_facts 10 years ago
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
10 years ago
Jason Holland 1011565282 Fix small issue with wrapping syntax 10 years ago
Jason Holland 797d8893d6 Fix some logical issues with enabling/disabling a server on the A10. 10 years ago
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]
10 years ago
Ravi Bhure 78365ecf06 updated version 1.9 and
moved haproxy module to network category
10 years ago
Brian Coca 68bd8a55ae Merge pull request #99 from ogenstad/devel
Snmp module for Ansible
10 years ago
ogenstad 24822322d4 1.9 10 years ago
ogenstad d4069bbc71 added_version -> 1.9 and file move 10 years ago
Michael Warkentin 691e424587 Fix typo: `authenicate` -> `authenticate` 10 years ago
Michael DeHaan 1e777bb508 Fix rename error. 10 years ago
Michael DeHaan 73123b69fa Move modules into subdirectory. 10 years ago
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
10 years ago
Will Thames 25c5250025 get_url module: Add timeout parameter 10 years ago
George Yoshida cd0dae890c For content-disposition response header field, try to parse filename parameter even if it's not quoted. 10 years ago
Brian Coca ac14a8d6ad unified calls to fs function vs duplicate functions for file and
directory
11 years ago
James Cammarata a9c2eefd06 Remove erroneous set of status_code causing a traceback in module uri
Fixes #7416
11 years ago
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
```
11 years ago
James Cammarata 89d61b8a7d Add parameters to get_url for the url username/password
Fixes #6928
11 years ago
James Tanner c69608cbe6 Fixes #6857 Make the url parameter required for get_url 11 years ago
Michael DeHaan b06f5162cd Example cleanup. 11 years ago
Sven Schliesing 898346a468 Update uri 11 years ago
Sven Schliesing d193e5571d Example for queueing build in Jenkins 11 years ago
Michael DeHaan eb1c37c6e1 Merge pull request #6649 from picsolvebryan/devel
Accept status code from a list of valid codes.
11 years ago
bryan hunt dff1fd3b37 Accept status code from a list of valid codes.
(cast the list of acceptable codes to a list of int )
11 years ago
bryan hunt eb9ac9308c Accept status code from a list of valid codes. 11 years ago
bryan hunt 5561fbc427 Accept status code from a list of valid codes. 11 years ago
James Cammarata c68be8b418 Remove validate_certs parameter from fetch_url calls 11 years ago
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
11 years ago
James Cammarata 09eaa0c920 Fixing the unicode issue in uri for EL6 platforms
Fixes #5869
11 years ago
James Cammarata 0c33cc19bb Handle unicode content in the uri module properly
Fixes #5869
11 years ago
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.
11 years ago
Eric Hanchrow 837d8e19b9 Clarify doc for get_url
Move a sentence from doc for the "force" option to that for the "dest" option.
11 years ago
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
11 years ago