Felix Fontein
928cdaaf87
[stable-9] Use more unit test utils from community.internal_test_tools ( #9920 )
...
Use more unit test utils from community.internal_test_tools (#9918 )
* Make conftest's patch_ansible_module use the context manager from .utils.
* Fix test dependencies.
* Use module mock utils from community.internal_test_tools.
* Use DataDictLoader from community.internal_test_tools.
* Use trust util from community.internal_test_tools.
(cherry picked from commit 8ab8010b6d
)
2025-03-22 14:12:44 +01:00
Felix Fontein
013fb9c006
[stable-9] Unit tests: make set_module_args() a context manager, and remove copies of it in some tests ( #9840 )
...
Unit tests: make set_module_args() a context manager, and remove copies of it in some tests (#9838 )
Make set_module_args() a context manager, and remove copies of set_module_args().
Prepares for Data Tagging.
(cherry picked from commit a1781d09dd
)
2025-03-07 07:31:42 +01:00
apecnascimento
88d2a3a1fb
Feat nomad token module ( #7523 )
...
* Add nomad_token module
* Updatate nomad maintainers list
* Fix Example docstring
* Fix identations and Flake8 rules
* Fix trailing whitespace
* Fix SyntaxError error
* change stringh format
* Fix Return doc string
* Fix Examples
* Fix flake8 rule W293
* Fix Doc schema
* Fix argument_spec
* Add maintainer
* Fix Example doc
* Remove token_info
* Change Doc
* Change nomad api acl token link
* Remove return whitespace
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix add changed state to True
* Update plugins/modules/nomad_token.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Change suport check mode
* Add unity tests
* Remove unused import
* Remove tests unused import
* Change python-nomad versions
Co-authored-by: Felix Fontein <felix@fontein.de>
* Change acl for ACL
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add ACL to all docs
* Change msg to ansible common return value
* Fix flake8 W291
* Update description.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-03 13:51:39 +01:00