Comments (13)
hi @su-hy is this feature got added to asa_config
I still did not see it in 2.10 version also
from cisco.asa.
@venu1428 not yet, it'll be available with cisco.asa 1.1.0
collection release which would ideally happen end of OCT.
from cisco.asa.
@su-hy @venu1428 I have raised the PR to add the asked feature from the asa_config
module end, can you please verify if the PR changes work as you expect.
from cisco.asa.
@justjais I would test it, but I am a beginner in Ansible, I don't really know how to install that 1.1.0 version. From what I can tell I still have 1.0 on my system...
from cisco.asa.
@su-hy save_when
fix PR is yet not merged, so if feasible can you check the code changes from the PR and apply them locally and run the scenario which will help to verify if the fix is working as expected for you.
from cisco.asa.
Has this been released? It's not documented with the 2.0 documentation for cisco.asa.asa_config linked from the main page (https://galaxy.ansible.com/cisco/asa) [and it fails as an unsupported parameter when added to a task]
from cisco.asa.
@robertegithub I've raised the PR to add the particular feature, so if you can test out the PR #75 changes and update if that works for you as expected, then we can merge the same and release with this months asa collection release.
from cisco.asa.
@justjais I would test this for you but I am new to Ansible and I don't know which file I should download / replace to test the version you submitted. If you can provide some basic instructions I can try to test.
from cisco.asa.
Thank you @justjais. Here is the test I performed:
-
Back up/move the original asa_config.py module in ~/.ansible/collections/ansible_collections/cisco/asa/plugins/modules/
Add the updated file from PR #75 . -
Run a test without changes to the Ansible playbook, still using "save: yes" and "save: no" in some locations.
Expected output: No difference
Result: Success -
Leave the ASA config as is, so that no changes are required.
Modify the playbooks to use "save_when: changed" in places where "save: yes" is used.
Expected output: No unnecessary saves / no gratuitous 'wr mem' actions observed in "terminal monitor"
Result: Success -
Update the ASA config so some changes will be required.
Run the playbook again with the "save_when: changed" parameter in place.
Expected output: Changes will be implemented and saved ('wr mem' actions will take place)
Result: Success
I did not test any of the other three arguments to save_when, but the "changed" argument is good.
from cisco.asa.
@robertegithub Thanks for testing out the scenario, much appreciated. I'll update the PR and once merged it'll be queued for March'21 release.
from cisco.asa.
Awesome. Thanks @justjais !!
from cisco.asa.
Just bumping this - looks like it hasn't been released yet. Any updates on possible release for this feature?
from cisco.asa.
FIx with the PR is merged and released with the ASA collection version 2.0.1
from cisco.asa.
Related Issues (20)
- [cisco.asa.asa_ogs] module execution fails on ASA configuration with port range of type <str> (in module coded as <int>) HOT 2
- [cisco.asa.asa_ogs] Incorrect service object groups created (2 instead of 1) HOT 3
- cisco.asa.asa_ogs - unable to create service-objects - invalid input error HOT 7
- [cisco.asa.asa_ogs] Sorting objects groups lead to problems HOT 9
- cisco.asa.asa_command module not working with backup command HOT 10
- ASAv lab not allowing show command abbreviation "sh access-list"
- acls module returning "Unsupported parameters" error HOT 6
- Collection CI related actions needed HOT 1
- asa_config module not switching context in loop HOT 6
- [cisco.asa.asa.acls] Error on ACL with object-group(service), object-group(network) and any HOT 8
- TypeError: 'NoneType' object is not subscriptable with asa_facts
- Show vpn-sessiondb summary returns show version output
- Consider using true/false for all booleans in docs
- cisco.asa 4.0.0 is not completable with ansible.netcommon version 5.0.0
- Not pulling sh running-config using the given cisco.asa module
- The collection bindep is hardcoding python version
- Permission escalating failed when execute command against Cisco firewall HOT 4
- Can't parse object groups if interface has a descrption
- Add Fallback to "terminal length 0" Command for Disabling Terminal Page Limit
- cisco.asa.asa_acls gathered facts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cisco.asa.