diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-30 17:08:32 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-30 17:08:32 -0500 |
commit | ebf659b0c1775f9be3e52a8ef420d568656c10f9 (patch) | |
tree | 5cd73fde4bd35e4f8731df93bd6e818e5d203ed8 /roles/openshift_cluster_metrics | |
parent | 006674871103f597d6dbb6c6cd135635489cebaf (diff) | |
parent | 526038fa15a6c02661f2315278c086477157b87f (diff) | |
download | openshift-ebf659b0c1775f9be3e52a8ef420d568656c10f9.tar.gz openshift-ebf659b0c1775f9be3e52a8ef420d568656c10f9.tar.bz2 openshift-ebf659b0c1775f9be3e52a8ef420d568656c10f9.tar.xz openshift-ebf659b0c1775f9be3e52a8ef420d568656c10f9.zip |
Merge pull request #964 from detiber/safePatch
Safe patch
Diffstat (limited to 'roles/openshift_cluster_metrics')
-rw-r--r-- | roles/openshift_cluster_metrics/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_cluster_metrics/tasks/main.yml b/roles/openshift_cluster_metrics/tasks/main.yml index 3938aba4c..9b7735e54 100644 --- a/roles/openshift_cluster_metrics/tasks/main.yml +++ b/roles/openshift_cluster_metrics/tasks/main.yml @@ -7,7 +7,7 @@ - name: Create InfluxDB Services command: > - {{ openshift.common.client_binary }} create -f + {{ openshift.common.client_binary }} create -f /etc/openshift/cluster-metrics/influxdb.yaml register: oex_influxdb_services failed_when: "'already exists' not in oex_influxdb_services.stderr and oex_influxdb_services.rc != 0" @@ -15,14 +15,14 @@ - name: Create Heapster Service Account command: > - {{ openshift.common.client_binary }} create -f + {{ openshift.common.client_binary }} create -f /etc/openshift/cluster-metrics/heapster-serviceaccount.yaml register: oex_heapster_serviceaccount failed_when: "'already exists' not in oex_heapster_serviceaccount.stderr and oex_heapster_serviceaccount.rc != 0" changed_when: false - name: Add cluster-reader role to Heapster - command: > + command: > {{ openshift.common.admin_binary }} policy add-cluster-role-to-user cluster-reader |