1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins
Alex Groshev 29f5033737
add persistent option for modprobe (#5424)
* add persistent option for modprobe

* add suggested changes + fix broken test

* change modprobe module path in tests due to rebase

* change persistent option type from bool to str with choices

* fix unused import

* add example with persistent option

* fix some minor issues after review

- move regexps compiling to __init__
- move AnsibleModule to build_module function and use this function in tests instead of AnsibleModule
- fix terminlogy issue in documentation

* fix unused-import
2023-02-26 14:58:58 +01:00
..
become Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
connection Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
filter Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
inventory Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
lookup Consolidate onepassword unit tests so that ansible-test will find them when the plugin is modified (#6075) 2023-02-25 10:57:48 +01:00
module_utils Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
modules add persistent option for modprobe (#5424) 2023-02-26 14:58:58 +01:00