Comments (4)
Thanks for figuring this out. This fix worked for me to run multiple commands but breaks the facts module. If I run the example ciscosmb_gather_facts.yml playbook I get the following error with the above fix in place:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'NoneType' object has no attribute 'groupdict'
If I revert the change back the ciscosmb_gather_facts.yml successfully runs. Any ideas why this would happen?
from community.ciscosmb.
... but breaks the facts module. If I run the example ciscosmb_gather_facts.yml playbook I get the following error with the above fix in place:
Is that problem CSB specific, or general ? I tested it on CSB a other SG an I have not souch issue.
from community.ciscosmb.
Thanks for figuring this out. This fix worked for me to run multiple commands but breaks the facts module. If I run the example ciscosmb_gather_facts.yml playbook I get the following error with the above fix in place:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'NoneType' object has no attribute 'groupdict'
If I revert the change back the ciscosmb_gather_facts.yml successfully runs. Any ideas why this would happen?
I have tested this in my environment on a CBS 350-24TX Version: 3.1.1.7 and I did not notice any issues, the gather_facts task runs okay for all subsets with or without the change mentioned above.
Example task that works:
- name: Collect only the config and default facts
community.ciscosmb.facts:
gather_subset:
- config
Some off-topic info, there are substantial differences between the CBS 220 and 350, for example.
On 220 the gather_facts module does not work entirely due to the hardcoded commands built into the "facts.py" module.
Normal behavior of course, just wanted to point it out.
from community.ciscosmb.
We only use 350 series switches. I've only tested on two CBS350-24P-4G (fw v3.3.0.16) switches so far but both fail using the gather_facts module with the error I posted when this fix is applied. I'm not sure what could be different in my instance compared to yours and qaxi. I try and do some more testing next week.
from community.ciscosmb.
Related Issues (20)
- Rewrite community.ciscosmb.ciscosmb_facts to community.ciscosmb.facts HOT 2
- SX550X-24F issue with parse_inventory HOT 2
- Links at bottom of readme don't work in Galaxy HOT 1
- README Typo and misleading vars HOT 2
- Important information for collection maintainers
- Bad authentication HOT 10
- Ansible Contributor Summit. Tuesday, April 12, 2022.
- Action required: Add stable-2.13 to the test matrix HOT 2
- Possible to edit switch config HOT 11
- How to pass STDIN to commands HOT 1
- Not saving all running config HOT 4
- CBS350-24T-4G: "Failed to authenticate: Authentication failed." HOT 4
- Consider using true/false for all booleans in docs
- ConnectionError HOT 9
- Typo in /plugins/cliconf/ciscosmb.py HOT 2
- Add support for netcommon/gather_facts HOT 2
- bandwith not bandwidth HOT 1
- Enable not working on SG300 HOT 6
- Collection Requirements Violation - Semantic Versioning HOT 2
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 community.ciscosmb.