summaryrefslogtreecommitdiffstats
path: root/playbooks/init/facts.yml
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2017-11-22 16:36:14 +0100
committerJan Pazdziora <jpazdziora@redhat.com>2017-11-22 16:38:17 +0100
commite3a0867b67b3f83e1077f112f07ecbaf8236e173 (patch)
tree8dc989e973124ac8e05a6a859b0227e471b0973e /playbooks/init/facts.yml
parent21823fcfbe1a435264c3574806c6f38dd8ddc57f (diff)
downloadopenshift-e3a0867b67b3f83e1077f112f07ecbaf8236e173.tar.gz
openshift-e3a0867b67b3f83e1077f112f07ecbaf8236e173.tar.bz2
openshift-e3a0867b67b3f83e1077f112f07ecbaf8236e173.tar.xz
openshift-e3a0867b67b3f83e1077f112f07ecbaf8236e173.zip
With dnf repoquery and excluded packages, --disableexcludes=all is needed to list the package with --installed.
Diffstat (limited to 'playbooks/init/facts.yml')
-rw-r--r--playbooks/init/facts.yml1
1 files changed, 1 insertions, 0 deletions
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: