Commit graph

14 commits

Author SHA1 Message Date
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
2016-09-13 12:02:15 -04:00
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
2016-09-13 11:03:08 -04:00
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
2016-09-12 16:48:47 -04:00
Peter Sprygada
d3dd754a40 Merge pull request #2848 from privateip/asa_config
update asa_config module
2016-09-04 21:00:15 -04:00
Peter Sprygada
84953d9d42 Merge pull request #2849 from privateip/asa_template
roll up of updates to asa_template
2016-09-04 20:59:58 -04:00
Peter Sprygada
1f138b6567 Merge pull request #2850 from privateip/asa_command
added new functionality to asa_command
2016-09-04 20:59:45 -04:00
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
2016-09-04 08:25:17 -04:00
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
2016-09-04 08:14:05 -04:00
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
2016-09-04 08:10:44 -04:00
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
2016-09-04 07:46:28 -04:00
Patrick Ogenstad
8285bbda6a New module asa_command (#2306) 2016-07-11 12:55:45 -04:00
Patrick Ogenstad
200654e45d New module asa_config (#2307) 2016-07-11 12:55:03 -04:00
Patrick Ogenstad
0b9f3100b1 New module asa_template (#2308) 2016-07-11 12:54:31 -04:00
Patrick Ogenstad
a4207029de New module asa_acl (#2309) 2016-07-11 12:53:33 -04:00