Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnf: support exclude and includepkgs arguments #48

Merged
merged 1 commit into from
Sep 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ansible/roles/dnf/tasks/custom-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)}}"
Expand Down
Original file line number Diff line number Diff line change
@@ -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.