diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-05-19 20:43:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 20:43:32 -0500 |
commit | 6f842a55108544c80454120ff778e11bbb3de529 (patch) | |
tree | b9fae9dc1ae79bda6e5afa9d2bc99bf5637b6a10 /roles/openshift_metrics | |
parent | 89669ff28e6b6825ecd7484e6432a6d09d5e657b (diff) | |
parent | 86e4c27bb2f84622e538d035efb6af76e2862d92 (diff) | |
download | openshift-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/openshift_metrics')
-rw-r--r-- | roles/openshift_metrics/tasks/main.yaml | 8 |
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 }}" |