Commit Graph

284 Commits (d3e588cd7827ff4b157f22d116d384c4cf718406)

Author SHA1 Message Date
John R Barker d3e588cd78 Typos in doc's strings (#3071) 8 years ago
John R Barker f51cb3cd54 asa_template is now deprecated (#2992)
* asa_template is now deprecated

* Delete asa_template

Since asa_template was added during 2.2 development, rather than
deprecate them
8 years ago
John R Barker 48d6bbd894 Correct typos (#3055) 8 years ago
Tim Rupp 6a0cb85789 Distinguish between untagged and tagged vlans
We were incorrectly making VLANS always be untagged when they could
be either tagged or untagged. This change corrects the arguments to
the vlan module to allow for specifying either untagged or tagged
interfaces. The arguments are mutually exclusive
8 years ago
Ryan Saunders c38fcb1c30 Fix documentation typos and broken URL (#3039) 8 years ago
Tim Rupp 372828de01 Fixes the bigip_selfip module to respect traffic groups (#3009)
The code for traffic groups was not being tested and therefore
had errors associated with it. It is now covered in coverage tests
and bugs that were found in it have been fixed.

See this issue for details
https://github.com/F5Networks/f5-ansible/issues/28
8 years ago
Tim Rupp 26546242e9 Corrects an implied map() usage as list (#3010)
In the six package, the map() function returns an iterator instead
of a list. This code was continuing to use the map() return value
as if it were a list and this broke the address_class facts.

This patch changes the code to use the list() method on the return
value of map().
8 years ago
perbly dd8c01f8ca added enabled vlan functionality for f5 vip (#2988)
* added vlan functionality for f5 vip

* line 91, : was missing after description
8 years ago
Tim Rupp 24aceceb36 Fixes domains method not defined (#2907)
The domains method was not defined, and therefore when specifying
a parent domain during route domain creation, the process would
fail.

Tests have been added to detect this going forward
8 years ago
Peter Sprygada 6d56ce5120 updates to asa_config module for Ansible 2.2
* clean up functions and remove unneeded code
* config difference now includes keyword argument
* module reports changed when save argument is yes with or without check_mode
* updated fail_json return with exc kwargs
* fixed up import statements
8 years ago
Peter Sprygada 961d461f7b fixes a number of nagging issues in asa_acl due to refactoring
* fixes issues with import error
* removes need for filter attribute in Cli instance
* now filters config either from device or provided via config argument

ref: #2890
8 years ago
Peter Sprygada 0e5837a2e9 bug fix in asa_acl module for missing candidate config
This bug was introduced accidentally when refactoring to 2.2.  The instance
of the candidate config was deleted.  This adds the candidate config
instance back

fixes #2890
8 years ago
Robin Schneider 67a1bebbd3 Use addresses and names reserved for documentation (#2894)
Trying to preserve the meaning of the examples.

Related to: https://github.com/ansible/ansible/issues/17479
8 years ago
John R Barker 9a338b05eb Document a10_server new options (#2876)
* Document write_config and validate_certs
8 years ago
Tim Rupp faf8f2192d Adds bigip_ssl_certificate module (#2831)
Adds bigip_ssl_certificate module

This module is another in the ongoing "bootstrapping saga" that is
being undertaken. With this module you can manage the lifecycle of
the SSL certificates on a BIG-IP. This includes those used for
SSL offloading.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_ssl_certificate/tasks/main.yaml

Platforms this was tested on are

12.0.0
12.1.0
8 years ago
Michael Scherer 1474bde864 Do not crash if the system do not have required modules (#2852) 8 years ago
Peter Sprygada d3dd754a40 Merge pull request #2848 from privateip/asa_config
update asa_config module
8 years ago
Peter Sprygada 84953d9d42 Merge pull request #2849 from privateip/asa_template
roll up of updates to asa_template
8 years ago
Peter Sprygada 1f138b6567 Merge pull request #2850 from privateip/asa_command
added new functionality to asa_command
8 years ago
Peter Sprygada 10e8cdc93a roll up updates to asa_acl module
* remove get_module() in favor of NetworkModule
* fix up import statements
* roll up fixes for NetworkConfig object handling
8 years ago
Peter Sprygada dc0290a067 added new functionality to asa_command
* commands argument now accepts a dict arguments
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
8 years ago
Peter Sprygada db5dd8516c update asa_config module
* removes get_module() factory method for NetworkModule
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or withoutdefaults
* add save argument to save current running config to startup config
8 years ago
Peter Sprygada 44733e3798 roll up of updates to asa_template
This updates the asa_template module with updates for Ansible 2.2.

* removes get_module() in favor of NetworkModule
* fixes up import statements
8 years ago
Tim Rupp e81bbf9b8f Bugfix bigip_facts that was trying to check the length of an iterator (#2842)
Recently, a user reported that the bigip_facts module was failing with the error

    received exception: object of type 'itertools.imap' has no len()

This reported was occurring at line 1657 of the bigip_facts module

bug report is here

https://github.com/F5Networks/f5-ansible/issues/25

Upon further investigation, the map function for returning the specified
includes was returning an iterator, and calling len() on an iterator does
not work.

I believe this problem was caused by part of the Python 3.x effort insofar
as the inclusion of this line

https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L143

seems to affect our usage of map(), probably for the better anyway, and we need
to change our expectations in our module's code to no longer assume a list, but
instead assume an iterator.

After trawling through the module_utils/basic code, I think a list
comprehension is more appropriate here anyway, so I'm changing it to be
that. The affected user reported it works this way, and my own testing
on 2.2.0 supports that.
8 years ago
Tim Rupp ef6eb80c12 Adds allow_service parameter to bigip_selfip (#2808)
This parameter can be used to open up access to (among other things)
the mgmt address of a BIG-IP. It is necessary for configuring bigips
in an HA configuration.
8 years ago
Adam Števko 2fda8831bd Add modules to configure Solaris/illumos networking (1st batch) (#2416)
* Add modules to configure Solaris/illumos networking (1st batch)

* Add choices to temporary flags
8 years ago
René Moser 4b7b70b35f new modules for managing exoscale DNS (#2788) 8 years ago
Tim Rupp 2ef4a34eee Fixes documentation bugs in bigip_irule (#2797)
The return docs were incorrect for this module. This patch fixes them
and adds some additional return values
8 years ago
Peter Sprygada 628ee6864d Merge pull request #2683 from gerva/a10_server_configuration_write
when write_config is no, we should not try to write any configuration…
8 years ago
Tim Rupp f29efb5626 Adds provision info to bigip facts (#2783)
This patch adds provision information to the bigip_facts module
through a "provision" include.
8 years ago
John R Barker beaa0c6c22 Merge pull request #2780 from caphrim007/new-module-bigip-irule
New module bigip_irule
8 years ago
Tim Rupp de902d4308 This module can be used as part of the bootstrapping of a BIG-IP. It
allows one to configure the various NTP settings that are part of
a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_device_ntp/tasks/main.yaml

Platforms this was tested on are

11.6.0
12.0.0
12.1.0
12.1.0 HF1
8 years ago
John R Barker eda7c1b7fd Merge pull request #2775 from caphrim007/new-module-bigip-device-sshd
Addition of bigip_device_sshd module
8 years ago
John R Barker 8e3a88e6ea Merge pull request #2778 from caphrim007/new-module-bigip-device-dns
New module bigip_device_dns
8 years ago
Tim Rupp 325d497fb8 Addition of bigip_device_sshd module
This module can be used as part of the bootstrapping of a BIG-IP. It
allows one to configure the various SSHD settings that are part of
a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_device_sshd/tasks/main.yaml

Platforms this was tested on are

11.6.0
12.0.0
12.1.0
12.1.0 HF1
8 years ago
Tim Rupp 3ec172c3ca New module bigip_irule
This module can be used to maintain the iRules for both LTM and GTM
on a BIG-IP. iRules should be supplied in their string form using
normal strings (unlikely), file lookups (likely), or template
lookups (likely).

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_irule/tasks/main.yaml

Platforms this was tested on are

11.6.1
12.0.0
12.1.0
8 years ago
Tim Rupp fc91c93108 This module can be used as part of the bootstrapping of a BIG-IP. It
allows one to configure the various DNS settings that are part of
a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_device_dns/tasks/main.yaml

Platforms this was tested on are

11.6.0
12.0.0
12.1.0
12.1.0 HF1
8 years ago
Tim Rupp 5399deff0b Adds documentation fragment to bigip modules
This patch removes the common documentation bits and replaces them
with a doc fragment that already exists in core
8 years ago
Adrian Likins 82771ed755 Add a 'requirements:' field to cloudflare_dns doc (#2631)
cloudflare_dns.py makes use of the python
2.6 features (the string .format() method).
8 years ago
Angus Williams 19107086f4 bigip_pool_member: fix idempotency with session_state argument (#2745) 8 years ago
Peter Sprygada fc34f17871 Merge pull request #2760 from caphrim007/new-module-bigip-routedomain
Add bigip_routedomain module
8 years ago
Tim Rupp 0833a1e8c0 Another bootstrapping module, this module allows for one to manage
route domains on a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_routedomain/tasks/main.yaml

Platforms this was tested on are

11.6.0
12.0.0
12.1.0
12.1.0 HF1
8 years ago
Tim Rupp f4d5ee6ba9 Adds the bigip_selfip module
Another bootstrapping module, this module allows for one to manage
self IP addresses on a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_selfip/tasks/main.yaml

Platforms this was tested on are

11.5.4 HF1
11.6.0
12.0.0
12.1.0 HF1
8 years ago
Shinichi TAMURA 5fbb0de36f Allow value to be bool where 'yes'/'no' are in choices (#2593)
* Changed type of 'details' argument to bool on ecs_service_facts module.

* Changed type of 'autostart' argument to bool on virt_* modules.

* Changed types of 'autoconnect' and 'stp' argument to bool on nmcli module.
('create_connection_bridge(self)' and 'modify_connection_bridge(self)' are not implemented yet?)

* Added conversion of 'value' argument when 'vtype' is boolean on debconf module.
8 years ago
Tim Rupp f47e02d7e9 Introduces the bigip_gtm_datacenter module (#1000)
This module can be used to manipulate data centers in a BIG-IP.
It supports both the iControl SOAP and iControl REST APIs, but default
to the REST API. With this module, you can perform operations similar
to those available in tmsh to create data centers and set the contact,
location, and description of those data centers.

This module is most useful in the initial provisioning of a BIG-IP
8 years ago
Tim Rupp b6a2e8ad67 Introduces the bigip_sys_db module (#998)
This module can be used to directly manipulate the system database
variables in a BIG-IP. It supports both the iControl SOAP and iControl
REST APIs, but default to the REST API. With this module, you can
perform operations similar to those available in tmsh to set system
variables such as turning off the default setup screen.

This module is most useful in the initial provisioning of a BIG-IP
8 years ago
Tim Rupp 06057a9eb7 Adds bigip_vlan module (#2661)
This module can be used to manage VLANs in BIG-IP on various software
versions. It is part of a bootstrapping effort underway to provide
modules necessary to bootstrap core settings in a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_vlan/tasks/main.yaml

Platforms this was tested on are

  - 11.5.4 HF1
  - 11.6.0
  - 12.0.0
  - 12.1.0 HF1
8 years ago
Tim Rupp e8b29dd750 Adds style conventions for bigip_node (#2697)
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.
8 years ago
Massimo Gervasini 34b4c34306 when write_config is no, we should not try to write any configuration changes 8 years ago
Tim Rupp be367cc2de Bugfixes and code style (#2627)
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.

Additionally, this patch fixes a couple bugs in the module that were
preventing it from being idempotent.
8 years ago