dnf: support exclude and includepkgs arguments

Change-Id: I58f7259a956b721052d9adfc935b669ff201b299
This commit is contained in:
Pierre Riteau 2022-01-05 18:06:03 +01:00
parent 4028a56fac
commit 3c8ce468a8
2 changed files with 10 additions and 0 deletions

View File

@ -9,7 +9,9 @@
gpgcheck: "{{ item.value.gpgcheck | default(omit)}}"
cost: "{{ item.value.cost | default(omit)}}"
enabled: "{{ item.value.enabled | default(omit)}}"
exclude: "{{ item.value.exclude | default(omit)}}"
gpgcakey: "{{ item.value.gpgcakey | default(omit)}}"
includepkgs: "{{ item.value.includepkgs | default(omit)}}"
metadata_expire: "{{ item.value.metadata_expire | default(omit)}}"
metalink: "{{ item.value.metalink | default(omit)}}"
mirrorlist: "{{ item.value.mirrorlist | default(omit)}}"

View File

@ -0,0 +1,8 @@
---
features:
- |
Adds support for the ``exclude`` and ``includepkgs`` options in custom DNF
repositories configured with ``dnf_custom_repos`` in ``dnf.yml``. See
`documentation of the yum_repository Ansible module
<https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum_repository_module.html>`__
for usage.