summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-19 20:43:32 -0500
committerGitHub <noreply@github.com>2017-05-19 20:43:32 -0500
commit6f842a55108544c80454120ff778e11bbb3de529 (patch)
treeb9fae9dc1ae79bda6e5afa9d2bc99bf5637b6a10 /roles
parent89669ff28e6b6825ecd7484e6432a6d09d5e657b (diff)
parent86e4c27bb2f84622e538d035efb6af76e2862d92 (diff)
downloadopenshift-6f842a55108544c80454120ff778e11bbb3de529.tar.gz
openshift-6f842a55108544c80454120ff778e11bbb3de529.tar.bz2
openshift-6f842a55108544c80454120ff778e11bbb3de529.tar.xz
openshift-6f842a55108544c80454120ff778e11bbb3de529.zip
Merge pull request #4134 from ewolinetz/issue4111
Merged by openshift-bot
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_metrics/tasks/main.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml
index 4ca5e6138..9af10a849 100644
--- a/roles/openshift_metrics/tasks/main.yaml
+++ b/roles/openshift_metrics/tasks/main.yaml
@@ -1,4 +1,12 @@
---
+- local_action: shell rpm -q python-passlib || echo not installed
+ register: passlib_result
+
+- name: Check that python-passlib is available on the control host
+ assert:
+ that:
+ - "'not installed' not in passlib_result.stdout"
+ msg: "python-passlib rpm must be installed on control host"
- name: Set default image variables based on deployment_type
include_vars: "{{ item }}"