aboutsummaryrefslogtreecommitdiffstats
path: root/roles/fedora/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2020-02-29 18:39:23 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2020-02-29 20:00:08 +0100
commit1efc14b28b9af25a1f4cea187c10963464bb5fe2 (patch)
tree3141ce2eb76d4bf086394a17bb4da5d5bbdc9cfd /roles/fedora/tasks
parent864f8574c6eeaadca318d8b8ed36a209108d50c2 (diff)
downloadlabitat-ansible-1efc14b28b9af25a1f4cea187c10963464bb5fe2.tar.gz
labitat-ansible-1efc14b28b9af25a1f4cea187c10963464bb5fe2.tar.xz
labitat-ansible-1efc14b28b9af25a1f4cea187c10963464bb5fe2.zip
fedora: dnf: set install_weak_deps=no
..when installing packages. In case the Ansible dnf module doesn't consult /etc/dnf/dnf.conf
Diffstat (limited to 'roles/fedora/tasks')
-rw-r--r--roles/fedora/tasks/dnf.yml1
1 files changed, 1 insertions, 0 deletions
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