summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-logging
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-16 15:53:54 -0500
committerRussell Teague <rteague@redhat.com>2017-11-30 15:10:13 -0500
commit2f76a594258e3ccdf55101c7266c65bd99c59abc (patch)
treea89012888958ded2748b547ee56ce792bc91b0af /playbooks/openshift-logging
parent6b6b422245be79dd3eec0c93a58875c646bbfba7 (diff)
downloadopenshift-2f76a594258e3ccdf55101c7266c65bd99c59abc.tar.gz
openshift-2f76a594258e3ccdf55101c7266c65bd99c59abc.tar.bz2
openshift-2f76a594258e3ccdf55101c7266c65bd99c59abc.tar.xz
openshift-2f76a594258e3ccdf55101c7266c65bd99c59abc.zip
Playbook Consolidation - openshift-logging
Diffstat (limited to 'playbooks/openshift-logging')
-rw-r--r--playbooks/openshift-logging/config.yml9
-rw-r--r--playbooks/openshift-logging/private/config.yml37
l---------playbooks/openshift-logging/private/library1
l---------playbooks/openshift-logging/private/roles1
4 files changed, 48 insertions, 0 deletions
diff --git a/playbooks/openshift-logging/config.yml b/playbooks/openshift-logging/config.yml
new file mode 100644
index 000000000..8837a2d32
--- /dev/null
+++ b/playbooks/openshift-logging/config.yml
@@ -0,0 +1,9 @@
+---
+#
+# This playbook is a preview of upcoming changes for installing
+# Hosted logging on. See inventory/byo/hosts.*.example for the
+# currently supported method.
+#
+- include: ../init/main.yml
+
+- include: private/config.yml
diff --git a/playbooks/openshift-logging/private/config.yml b/playbooks/openshift-logging/private/config.yml
new file mode 100644
index 000000000..bc59bd95a
--- /dev/null
+++ b/playbooks/openshift-logging/private/config.yml
@@ -0,0 +1,37 @@
+---
+- name: Logging Install Checkpoint Start
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Logging install 'In Progress'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_logging:
+ status: "In Progress"
+ start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
+
+- name: OpenShift Aggregated Logging
+ hosts: oo_first_master
+ roles:
+ - openshift_logging
+
+- name: Update Master configs
+ hosts: oo_masters:!oo_first_master
+ tasks:
+ - block:
+ - include_role:
+ name: openshift_logging
+ tasks_from: update_master_config
+
+- name: Logging Install Checkpoint End
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Logging install 'Complete'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_logging:
+ status: "Complete"
+ end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
diff --git a/playbooks/openshift-logging/private/library b/playbooks/openshift-logging/private/library
new file mode 120000
index 000000000..ba40d2f56
--- /dev/null
+++ b/playbooks/openshift-logging/private/library
@@ -0,0 +1 @@
+../../../library \ No newline at end of file
diff --git a/playbooks/openshift-logging/private/roles b/playbooks/openshift-logging/private/roles
new file mode 120000
index 000000000..20c4c58cf
--- /dev/null
+++ b/playbooks/openshift-logging/private/roles
@@ -0,0 +1 @@
+../../../roles \ No newline at end of file