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
patchback[bot] eb6ef5ae2e
[PR #5424/29f50337 backport][stable-6] add persistent option for modprobe (#6102)
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

(cherry picked from commit 29f5033737)

Co-authored-by: Alex Groshev <38885591+haddystuff@users.noreply.github.com>
2023-02-26 15:37:09 +01:00
..
compat [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
mock Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
plugins [PR #5424/29f50337 backport][stable-6] add persistent option for modprobe (#6102) 2023-02-26 15:37:09 +01:00
requirements.txt [Scaleway] Add module to manage function namespaces (#5415) 2022-11-02 20:11:04 +01:00