-
Notifications
You must be signed in to change notification settings - Fork 4
Improve the functionality and maintainability of the codebase #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7ca7ade
to
feda502
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manque juste d'implémenter la version (1.2.2?) dans galaxy.yml
@@ -30,11 +30,11 @@ | |||
|
|||
EXAMPLES = r""" | |||
- name: Fetch dvls server information | |||
server: | |||
devolutions.dvls.fetch_server: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je ne crois pas que ça marcherait, si c'est le cas ce serait breaking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
def run_module(): | ||
module_args = dict( | ||
argument_spec = dict( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je le changerait sur les autres aussi rendu là
module = AnsibleModule(argument_spec=module_args, supports_check_mode=True) | ||
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True) | ||
|
||
if not HAS_REQUESTS_LIBRARY: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce qu'on peut ajouter cette condition dans les autres modules aussi?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est seulement pertinent pour les libs externes, dans ce cas-ci, celle qui font références à requests. Les autres modules ne l'import pas, donc pas besoin.
4c401e1
to
975485f
Compare
This pull request includes several changes to improve the functionality and maintainability of the codebase, particularly in the
.github/workflows/test.yml
file and various module utility files. The changes include updates to the workflow, error handling improvements, and code formatting enhancements.