Browse Source

Updating python-passlib assert

ewolinetz 7 years ago
parent
commit
219db682f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_metrics/tasks/main.yaml

+ 1 - 1
roles/openshift_metrics/tasks/main.yaml

@@ -1,5 +1,5 @@
 ---
-- local_action: shell rpm -q python-passlib || echo not installed
+- local_action: shell python -c 'import passlib' 2>/dev/null || echo not installed
   register: passlib_result
 
 - name: Check that python-passlib is available on the control host