From 1efc14b28b9af25a1f4cea187c10963464bb5fe2 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Sat, 29 Feb 2020 18:39:23 +0100 Subject: fedora: dnf: set install_weak_deps=no ..when installing packages. In case the Ansible dnf module doesn't consult /etc/dnf/dnf.conf --- roles/fedora/tasks/dnf.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/fedora/tasks/dnf.yml b/roles/fedora/tasks/dnf.yml index 50f11ec..947785b 100644 --- a/roles/fedora/tasks/dnf.yml +++ b/roles/fedora/tasks/dnf.yml @@ -34,6 +34,7 @@ dnf_packages: '{{ dnf_packages_default|combine(dnf_packages_role) }}' dnf: name: "{{ dnf_packages|dictsort(true)|selectattr(1,'equalto','present')|map(attribute=0)|list }}" + install_weak_deps: no state: present tags: - packages -- cgit v1.2.1