From 3737cabc6588625c747572fcfb203c141b107975 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 14 Jun 2018 23:17:52 -0500 Subject: [PATCH] Breakup site into more consumable meta playbooks The site playbook was a running list of all playbooks throughout the stack. This change breaks up site so that deployers can update different components of the stack without having to call the individual playbooks. Change-Id: I6a2c4959806928a4f0dd143a2ebac9c0505fb1ca Signed-off-by: Kevin Carter --- elk_metrics_6x/site-beats-community.yml | 16 ++++++++++++++++ elk_metrics_6x/site-beats-core.yml | 20 ++++++++++++++++++++ elk_metrics_6x/site-elka.yml | 21 +++++++++++++++++++++ elk_metrics_6x/site.yml | 17 +++-------------- 4 files changed, 60 insertions(+), 14 deletions(-) create mode 100644 elk_metrics_6x/site-beats-community.yml create mode 100644 elk_metrics_6x/site-beats-core.yml create mode 100644 elk_metrics_6x/site-elka.yml diff --git a/elk_metrics_6x/site-beats-community.yml b/elk_metrics_6x/site-beats-community.yml new file mode 100644 index 00000000..6eb444ff --- /dev/null +++ b/elk_metrics_6x/site-beats-community.yml @@ -0,0 +1,16 @@ +--- +# Copyright 2018, Rackspace US, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- import_playbook: installJournalbeat.yml diff --git a/elk_metrics_6x/site-beats-core.yml b/elk_metrics_6x/site-beats-core.yml new file mode 100644 index 00000000..b506abd5 --- /dev/null +++ b/elk_metrics_6x/site-beats-core.yml @@ -0,0 +1,20 @@ +--- +# Copyright 2018, Rackspace US, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- import_playbook: installMetricbeat.yml +- import_playbook: installPacketbeat.yml +- import_playbook: installAuditbeat.yml +- import_playbook: installHeartbeat.yml +- import_playbook: installFilebeat.yml diff --git a/elk_metrics_6x/site-elka.yml b/elk_metrics_6x/site-elka.yml new file mode 100644 index 00000000..f2e33ede --- /dev/null +++ b/elk_metrics_6x/site-elka.yml @@ -0,0 +1,21 @@ +--- +# Copyright 2018, Rackspace US, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- import_playbook: installElastic.yml +- import_playbook: installCurator.yml +- import_playbook: installLogstash.yml +- import_playbook: installKibana.yml +- import_playbook: installAPMserver.yml +- import_playbook: createElasticIndexes.yml diff --git a/elk_metrics_6x/site.yml b/elk_metrics_6x/site.yml index 775e3a51..3f32c928 100644 --- a/elk_metrics_6x/site.yml +++ b/elk_metrics_6x/site.yml @@ -13,17 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -- import_playbook: installElastic.yml -- import_playbook: installCurator.yml -- import_playbook: installLogstash.yml -- import_playbook: installKibana.yml -- import_playbook: installAPMserver.yml - -- import_playbook: createElasticIndexes.yml - -- import_playbook: installMetricbeat.yml -- import_playbook: installPacketbeat.yml -- import_playbook: installAuditbeat.yml -- import_playbook: installHeartbeat.yml -- import_playbook: installFilebeat.yml -- import_playbook: installJournalbeat.yml +- import_playbook: site-elka.yml +- import_playbook: site-beats-core.yml +- import_playbook: site-beats-community.yml