diff options
author | Mangirdas <m.judeikis@gmail.com> | 2018-01-27 08:05:31 +0000 |
---|---|---|
committer | Mangirdas <m.judeikis@gmail.com> | 2018-01-28 08:38:36 +0000 |
commit | 3de29f6d5a3017b57c553c5e2fb63a50994df840 (patch) | |
tree | 8d19dd62d0375ce989751e612f32486b72e82e9c /roles/openshift_prometheus/tasks/main.yaml | |
parent | a24ccff0423ca25bfcb1a3d9f79470aae5948d66 (diff) | |
download | openshift-3de29f6d5a3017b57c553c5e2fb63a50994df840.tar.gz openshift-3de29f6d5a3017b57c553c5e2fb63a50994df840.tar.bz2 openshift-3de29f6d5a3017b57c553c5e2fb63a50994df840.tar.xz openshift-3de29f6d5a3017b57c553c5e2fb63a50994df840.zip |
Rebase Prometheus example for new scrape endpoints and expose alert manager
Diffstat (limited to 'roles/openshift_prometheus/tasks/main.yaml')
-rw-r--r-- | roles/openshift_prometheus/tasks/main.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_prometheus/tasks/main.yaml b/roles/openshift_prometheus/tasks/main.yaml index b859eb111..66d65a3f2 100644 --- a/roles/openshift_prometheus/tasks/main.yaml +++ b/roles/openshift_prometheus/tasks/main.yaml @@ -16,9 +16,11 @@ - name: Create templates subdirectory file: state: directory - path: "{{ tempdir }}/templates" + path: "{{ tempdir }}/{{ item }}" mode: 0755 changed_when: False + with_items: + - templates - include_tasks: install_prometheus.yaml when: openshift_prometheus_state == 'present' |