summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/tasks/install_support.yaml
blob: 584e3be05ee87bf062cddca92742a30838bbd36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
- name: Check control node to see if htpasswd is installed
  local_action: command which htpasswd
  register: htpasswd_check
  failed_when: no
  changed_when: no
  become: false

- fail: msg="'htpasswd' is unavailable. Please install httpd-tools on the control node"
  when: htpasswd_check.rc  == 1

- name: Check control node to see if keytool is installed
  local_action: command which keytool
  register: keytool_check
  failed_when: no
  changed_when: no
  become: false

- fail: msg="'keytool' is unavailable. Please install java-1.8.0-openjdk-headless on the control node"
  when: keytool_check.rc  == 1

- include: generate_certificates.yaml
- include: generate_serviceaccounts.yaml
- include: generate_services.yaml
- include: generate_rolebindings.yaml