tripleo-ansible/zuul.d
Jose Luis Franco Arza 9959ab3938 Add tripleo_dnf_stream Ansible module.
One of the functionalities the dnf Ansible module misses is the single
disabling and disabling of DNF modules [0]. Currently only installation and
removal are supported.

The tripleo_dnf_stream module is based on the dnf.py Ansible core module [1]
(so it will be simpler to contribute with this functionality to upstream
Ansible core) and covers the enabling and disabling of one or multiple
MODULE:STREAM.

This functionality is required when performing a minor update, as we
need to make sure that a set of streams are enabled to provide with
the right packages [2]. In this situation, the installation of the
whole module is not really required as a full upgrade will run after.

The module uses the options name (MODULE:STREAM) and state:[disabled or
enabled]. Example:
    - name: Enable the container-tools:3.0
      tripleo_dnf_stream:
        - name: container-tools:3.0
          state: enabled

[0]: https://github.com/ansible/ansible/issues/64852
[1]: https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/dnf.py
[2]: https://github.com/openstack/tripleo-heat-templates/blob/master/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml#L378-L381

Change-Id: I992935e1c478591f3c8af5044df8a625af9eba85
(cherry picked from commit 5212d407d9)
(cherry picked from commit c2d083b03c)
2021-11-03 11:31:29 +00:00
..
playbooks Use podman collection instead of podman* modules 2021-06-10 12:19:05 +00:00
base.yaml Use centos-8 stream for molecule jobs 2021-04-25 23:56:33 +03:00
layout.yaml Drop minion job 2021-10-14 08:32:41 +00:00
molecule.yaml Add tripleo_dnf_stream Ansible module. 2021-11-03 11:31:29 +00:00