From e3a0867b67b3f83e1077f112f07ecbaf8236e173 Mon Sep 17 00:00:00 2001
From: Jan Pazdziora <jpazdziora@redhat.com>
Date: Wed, 22 Nov 2017 16:36:14 +0100
Subject: With dnf repoquery and excluded packages, --disableexcludes=all is
 needed to list the package with --installed.

---
 playbooks/init/facts.yml | 1 +
 1 file changed, 1 insertion(+)

(limited to 'playbooks/init')

diff --git a/playbooks/init/facts.yml b/playbooks/init/facts.yml
index c9a3448c7..9fb4ad951 100644
--- a/playbooks/init/facts.yml
+++ b/playbooks/init/facts.yml
@@ -154,6 +154,7 @@
   - name: initialize_facts set_fact repoquery command
     set_fact:
       repoquery_cmd: "{{ 'dnf repoquery --latest-limit 1 -d 0' if ansible_pkg_mgr == 'dnf' else 'repoquery --plugins' }}"
+      repoquery_installed: "{{ 'dnf repoquery --latest-limit 1 -d 0 --disableexcludes=all --installed' if ansible_pkg_mgr == 'dnf' else 'repoquery --plugins --installed' }}"
 
   - name: initialize_facts set_fact on openshift_docker_hosted_registry_network
     set_fact:
-- 
cgit v1.2.3