summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorMichael Gugino <gugino.michael@yahoo.com>2017-12-21 15:53:30 -0500
committerGitHub <noreply@github.com>2017-12-21 15:53:30 -0500
commitfbf32e8e992a5de1cb5fa9cacba9224658b5c0a4 (patch)
tree54d9187a470cd044be9406e97d47ca5989411570 /roles/openshift_facts
parent0300b611877689e9f14ad5714b1e4e2c7224ca1e (diff)
parente3cf9edff6d0186b09b1a112592f283fab6857d0 (diff)
downloadopenshift-fbf32e8e992a5de1cb5fa9cacba9224658b5c0a4.tar.gz
openshift-fbf32e8e992a5de1cb5fa9cacba9224658b5c0a4.tar.bz2
openshift-fbf32e8e992a5de1cb5fa9cacba9224658b5c0a4.tar.xz
openshift-fbf32e8e992a5de1cb5fa9cacba9224658b5c0a4.zip
Merge pull request #6530 from mgugino-upstream-stage/init-task-trim
Move sanity_checks into custom action plugin
Diffstat (limited to 'roles/openshift_facts')
-rw-r--r--roles/openshift_facts/defaults/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_facts/defaults/main.yml b/roles/openshift_facts/defaults/main.yml
index af0a72737..980350d14 100644
--- a/roles/openshift_facts/defaults/main.yml
+++ b/roles/openshift_facts/defaults/main.yml
@@ -5,6 +5,9 @@ openshift_cli_image_dict:
origin: 'openshift/origin'
openshift-enterprise: 'openshift3/ose'
+repoquery_cmd: "{{ (ansible_pkg_mgr == 'dnf') | ternary('dnf repoquery --latest-limit 1 -d 0', 'repoquery --plugins') }}"
+repoquery_installed: "{{ (ansible_pkg_mgr == 'dnf') | ternary('dnf repoquery --latest-limit 1 -d 0 --disableexcludes=all --installed', 'repoquery --plugins --installed') }}"
+
openshift_hosted_images_dict:
origin: 'openshift/origin-${component}:${version}'
openshift-enterprise: 'openshift3/ose-${component}:${version}'