From 984655cb741278409f065474776b55eec8b75134 Mon Sep 17 00:00:00 2001 From: Diego Abelenda Date: Mon, 20 Nov 2017 16:25:46 +0100 Subject: Change the name of the variable and explicitely document the names --- roles/openshift_hosted/tasks/create_groups.yml | 15 +++++++++++++++ roles/openshift_prometheus/README.md | 4 +++- roles/openshift_prometheus/tasks/install_prometheus.yaml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 roles/openshift_hosted/tasks/create_groups.yml diff --git a/roles/openshift_hosted/tasks/create_groups.yml b/roles/openshift_hosted/tasks/create_groups.yml new file mode 100644 index 000000000..e2073cfbd --- /dev/null +++ b/roles/openshift_hosted/tasks/create_groups.yml @@ -0,0 +1,15 @@ +--- +#- name: Create additionnal Groups +# oc_obj: +# kind: Group +# name: "{{ item.key }}" +# users: "{{ item.users }}" +# with_dict: "{{ openshift_additionnal_groups }}" + +- name: Create CronJob LdapSyncConfig + oc_obj: + kind: CronJob + name: AutoLdapSync + content: + + with_item: "{{ openshift_groups_ldapsync_config }}" diff --git a/roles/openshift_prometheus/README.md b/roles/openshift_prometheus/README.md index 9e43da5c3..f1bbb3ca6 100644 --- a/roles/openshift_prometheus/README.md +++ b/roles/openshift_prometheus/README.md @@ -25,7 +25,9 @@ For default values, see [`defaults/main.yaml`](defaults/main.yaml). - `openshift_prometheus_args`: Modify or add arguments for prometheus application -- `openshift_prometheus__hostname`: specify the hostname for the route of that compontent: defaults to `-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}` +- `openshift_prometheus_hostname`: specify the hostname for the route to prometheus `prometheus-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}` + +- `openshift_prometheus_alerts_hostname`: specify the hostname for the route to prometheus `prometheus_alerts-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}` e.g ``` diff --git a/roles/openshift_prometheus/tasks/install_prometheus.yaml b/roles/openshift_prometheus/tasks/install_prometheus.yaml index 1241c371a..ad15dc65f 100644 --- a/roles/openshift_prometheus/tasks/install_prometheus.yaml +++ b/roles/openshift_prometheus/tasks/install_prometheus.yaml @@ -119,7 +119,7 @@ tls_termination: reencrypt with_items: - name: prometheus - host: "{{ openshift_prometheus_prometheus_hostname }}" + host: "{{ openshift_prometheus_hostname }}" - name: alerts host: "{{ openshift_prometheus_alerts_hostname }}" -- cgit v1.2.3