summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-grafana
diff options
context:
space:
mode:
authorEldad Marciano <mrsiano@gmail.com>2017-11-20 16:41:43 +0200
committerEldad Marciano <mrsiano@gmail.com>2018-01-17 12:06:42 +0200
commit8fcf4b127af3b96c5cb174157441436d8b11dafd (patch)
tree625985e588e23df9a335540cbf0c086f34e4b067 /playbooks/openshift-grafana
parentdce44f0bf93c1cf7b2d2fd7f01d591be117b2d60 (diff)
downloadopenshift-8fcf4b127af3b96c5cb174157441436d8b11dafd.tar.gz
openshift-8fcf4b127af3b96c5cb174157441436d8b11dafd.tar.bz2
openshift-8fcf4b127af3b96c5cb174157441436d8b11dafd.tar.xz
openshift-8fcf4b127af3b96c5cb174157441436d8b11dafd.zip
Add new grafana playbook.
this patch introduce a new playbook and roles to deploy grafana automaticly using openshift-ansible capabilities. this patch will abstract the grafana deployment process specially for openshift.
Diffstat (limited to 'playbooks/openshift-grafana')
-rw-r--r--playbooks/openshift-grafana/config.yml4
-rw-r--r--playbooks/openshift-grafana/private/config.yml6
l---------playbooks/openshift-grafana/private/filter_plugins1
l---------playbooks/openshift-grafana/private/lookup_plugins1
l---------playbooks/openshift-grafana/private/roles1
5 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/openshift-grafana/config.yml b/playbooks/openshift-grafana/config.yml
new file mode 100644
index 000000000..c7814207c
--- /dev/null
+++ b/playbooks/openshift-grafana/config.yml
@@ -0,0 +1,4 @@
+---
+- import_playbook: ../init/main.yml
+
+- import_playbook: private/config.yml
diff --git a/playbooks/openshift-grafana/private/config.yml b/playbooks/openshift-grafana/private/config.yml
new file mode 100644
index 000000000..ac753d63b
--- /dev/null
+++ b/playbooks/openshift-grafana/private/config.yml
@@ -0,0 +1,6 @@
+---
+- name: Deploy grafana server
+ hosts: masters
+ tasks:
+ - include_role:
+ name: openshift_grafana
diff --git a/playbooks/openshift-grafana/private/filter_plugins b/playbooks/openshift-grafana/private/filter_plugins
new file mode 120000
index 000000000..99a95e4ca
--- /dev/null
+++ b/playbooks/openshift-grafana/private/filter_plugins
@@ -0,0 +1 @@
+../../../filter_plugins \ No newline at end of file
diff --git a/playbooks/openshift-grafana/private/lookup_plugins b/playbooks/openshift-grafana/private/lookup_plugins
new file mode 120000
index 000000000..ac79701db
--- /dev/null
+++ b/playbooks/openshift-grafana/private/lookup_plugins
@@ -0,0 +1 @@
+../../../lookup_plugins \ No newline at end of file
diff --git a/playbooks/openshift-grafana/private/roles b/playbooks/openshift-grafana/private/roles
new file mode 120000
index 000000000..e2b799b9d
--- /dev/null
+++ b/playbooks/openshift-grafana/private/roles
@@ -0,0 +1 @@
+../../../roles/ \ No newline at end of file