]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
dashboard: generate group_vars sample files
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 May 2019 14:15:48 +0000 (16:15 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 17 May 2019 14:05:58 +0000 (16:05 +0200)
generate all group_vars sample files corresponding to new roles added
for ceph-dashboard implementation.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 50672c65a6ab87e7536764f43666998301330f53)

group_vars/dashboards.yml.sample [new file with mode: 0644]
group_vars/grafanas.yml.sample [new file with mode: 0644]
group_vars/node-exporters.yml.sample [new file with mode: 0644]
group_vars/prometheuss.yml.sample [new file with mode: 0644]

diff --git a/group_vars/dashboards.yml.sample b/group_vars/dashboards.yml.sample
new file mode 100644 (file)
index 0000000..a5180a7
--- /dev/null
@@ -0,0 +1,21 @@
+---
+# Variables here are applicable to all host groups NOT roles
+
+# This sample file generated by generate_group_vars_sample.sh
+
+# Dummy variable to avoid error because ansible does not recognize the
+# file as a good configuration file when no variable in it.
+dummy:
+
+#dashboard_admin_user: admin
+#dashboard_admin_password: admin
+# We only need this for SSL (https) connections
+#dashboard_crt: ''
+#dashboard_key: ''
+#dashboard_rgw_api_user_id: ceph-dashboard
+#dashboard_rgw_api_host: ''
+#dashboard_rgw_api_port: ''
+#dashboard_rgw_api_scheme: ''
+#dashboard_rgw_api_admin_resource: ''
+#dashboard_rgw_api_no_ssl_verify: ''
+
diff --git a/group_vars/grafanas.yml.sample b/group_vars/grafanas.yml.sample
new file mode 100644 (file)
index 0000000..5d4ddbe
--- /dev/null
@@ -0,0 +1,26 @@
+---
+# Variables here are applicable to all host groups NOT roles
+
+# This sample file generated by generate_group_vars_sample.sh
+
+# Dummy variable to avoid error because ansible does not recognize the
+# file as a good configuration file when no variable in it.
+dummy:
+
+#grafana_admin_user: admin
+#grafana_admin_password: admin
+# We only need this for SSL (https) connections
+#grafana_crt: ''
+#grafana_key: ''
+#grafana_container_image: "grafana/grafana:latest"
+#grafana_container_cpu_period: 100000
+#grafana_container_cpu_cores: 2
+# container_memory is in GB
+#grafana_container_memory: 4
+#grafana_uid: 472
+#grafana_datasource: Dashboard
+#grafana_dashboards_path: "/etc/grafana/dashboards/ceph-dashboard"
+#grafana_plugins:
+#  - vonage-status-panel
+#  - grafana-piechart-panel
+
diff --git a/group_vars/node-exporters.yml.sample b/group_vars/node-exporters.yml.sample
new file mode 100644 (file)
index 0000000..7171d59
--- /dev/null
@@ -0,0 +1,11 @@
+---
+# Variables here are applicable to all host groups NOT roles
+
+# This sample file generated by generate_group_vars_sample.sh
+
+# Dummy variable to avoid error because ansible does not recognize the
+# file as a good configuration file when no variable in it.
+dummy:
+
+#node_exporter_container_image: prom/node-exporter:latest
+
diff --git a/group_vars/prometheuss.yml.sample b/group_vars/prometheuss.yml.sample
new file mode 100644 (file)
index 0000000..7330a8e
--- /dev/null
@@ -0,0 +1,26 @@
+---
+# Variables here are applicable to all host groups NOT roles
+
+# This sample file generated by generate_group_vars_sample.sh
+
+# Dummy variable to avoid error because ansible does not recognize the
+# file as a good configuration file when no variable in it.
+dummy:
+
+#prometheus_container_image: prom/prometheus:latest
+#prometheus_container_cpu_period: 100000
+#prometheus_container_cpu_cores: 2
+# container_memory is in GB
+#prometheus_container_memory: 4
+#prometheus_data_dir: /var/lib/prometheus
+#prometheus_conf_dir: /etc/prometheus
+#prometheus_user_id: '65534'  # This is the UID used by the prom/prometheus container image
+
+#alertmanager_container_image: prom/alertmanager:latest
+#alertmanager_container_cpu_period: 100000
+#alertmanager_container_cpu_cores: 2
+# container_memory is in GB
+#alertmanager_container_memory: 4
+#alertmanager_data_dir: /var/lib/alertmanager
+#alertmanager_conf_dir: /etc/alertmanager
+