You've already forked community.general
mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-30 18:43:09 +03:00
yum_versionlock: new module (#1405)
* new module: yum_versionlock * Removed redundant logic * Added check_mode support * Updated examples * Updated documentation Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Erik-jan Riemers <riemers@binkey.nl> * Update plugins/modules/packaging/os/yum_versionlock.py Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Fix version_added * Add module symlink * Fix symlink * Improve documentation formatting by Anderssoon007 Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Improve documentation formatting by Anderssoon007 Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Improve documentation * Add notes section * check_mode is supported * Initial integration test * Change pkg to name * Do the tests only when there is something to update * Ignore CentOS 6 * Fix * Do not update obsolete packages * yum -q versionlock list does not show anything in CentOS 8 * Various suggestions by Andersson007 Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Apply suggestions from felixfontein review Co-authored-by: Felix Fontein <felix@fontein.de> * returned always * Apply felixfontein suggestion Co-authored-by: Felix Fontein <felix@fontein.de> * Fix RETUNRED values returned * Change default from present to locked * Remove locked, unlocked states * change locked/unlocked to present/absent in integration tests Co-authored-by: Felix Fontein <felix@fontein.de> * Fix module short_description formatting * Add myself as co-author Co-authored-by: Erik-jan Riemers <riemers@binkey.nl> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
1
plugins/modules/yum_versionlock.py
Symbolic link
1
plugins/modules/yum_versionlock.py
Symbolic link
@ -0,0 +1 @@
|
||||
./packaging/os/yum_versionlock.py
|
Reference in New Issue
Block a user