mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Make an OpenStackModule base class
In module_utils we have a bunch of factory functions that we expect people to use in a certain combination to build a module, then we pass around a reference to the SDK and to the connection we created. That's largely just due to how this stuff grew organically. Instead, create a base class to be used in the modules. For now it allows us to clean things up a bit. But as a follow on - it should maybe help us put in things like richer logging collection which would otherwise need to be done with helper methods and whatnot. Change-Id: I487e79fe18c0b9a75df7dacd224ab40ed7f4e1ab
This commit is contained in:
committed by
Artem Goncharov
parent
cb2c6f403e
commit
ae0303d482
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.tox
|
||||
build_artifact
|
||||
ansible_collections
|
||||
Reference in New Issue
Block a user