summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/tasks/install_metrics.yaml
blob: 5d95fa1129c610d9f5fdb2afcf04f653a4b75ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
# This is the base configuration for installing the other components
- name: Create temp directory for doing work in
  command: mktemp -td openshift-metrics-ansible-XXXXXX
  register: mktemp
  changed_when: False

- debug: msg="Created temp dir {{mktemp.stdout}}"

- name: Create temp directory for all our templates
  file: path={{mktemp.stdout}}/templates state=directory mode=0755
  changed_when: False

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