Bug 44510 - Доработать модуль apt_rpm для Ansible
Summary: Доработать модуль apt_rpm для Ansible
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ansible (show other bugs)
Version: unstable
Hardware: all Linux
: P5 enhancement
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-01 15:59 MSK by vodazilla
Modified: 2023-03-03 10:16 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vodazilla 2022-12-01 15:59:08 MSK
Имеется мордкль apt_rpm для Ansible:
https://docs.ansible.com/ansible/latest/collections/community/general/apt_rpm_module.html

Но функционал модуля сильно ограничен. Прошу добавить в этот модуль dist-upgrade, autoremove, возможность только обновления кеша.
Нашёл реализацию: https://github.com/ansible/ansible/pull/27633/commits
Но этот коммит отклонили.

Также обновить документацию (сейчас по описанию не понятно, что state: present -- это установка последней версии, либо обновление до последней версии)

2) Также хотелось бы отдельный модуль для update-kernel для обновления ядра ОС (+ remove-old-kernels в эторм модуле).

Хочется функционал увидеть в основной ветке Ansible.
Comment 1 Andrey Cherepanov 2023-03-03 10:16:20 MSK
Обновление системы и ядра реализовано в версии 2.9.27-alt2