Project Restructure

This commit is contained in:
2022-10-31 16:08:42 +13:00
parent 2f785fcf6a
commit 3ab2cd4c89
12 changed files with 226 additions and 227 deletions

4
.gitignore vendored
View File

@@ -100,3 +100,7 @@ ENV/
# Files directory
files/*
!files/.gitkeep
# Inventory directory
inventory/*
!inventory/.gitkeep

View File

@@ -1,7 +1,6 @@
---
- name: Upgrade the Indexer Master
hosts: index-cluster-masters
become: true
handlers:
- import_tasks: handlers/splunk.yml
tasks:

View File

@@ -1,7 +1,6 @@
---
- name: Upgrade the Deployment Server
hosts: deployment-servers
become: true
handlers:
- import_tasks: handlers/splunk.yml
tasks:

View File

@@ -2,6 +2,6 @@
# Automagically included by ansible for all inventory
splunk_user: splunk
splunk_home: /opt/splunk
splunk_archive: splunk-7.2.0-8c86330ac18-Linux-x86_64.tgz
splunk_archive: splunk-8.2.0-e053ef3c985f-Linux-x86_64.tgz
# Manifest splunk will install upon upgrade.
splunk_manifest: splunk-7.2.0-8c86330ac18-linux-2.6-x86_64-manifest
splunk_manifest: splunk-8.2.0-e053ef3c985f-linux-2.6-x86_64-manifest

View File

@@ -1,7 +1,6 @@
---
- name: Upgrade the Heavyweights
hosts: heavyweight-forwarders
become: true
handlers:
- import_tasks: handlers/splunk.yml
tasks:

0
inventory/.gitkeep Normal file
View File

View File

@@ -27,8 +27,6 @@
copy:
src: "{{ splunk_archive }}"
dest: /tmp/splunk
owner: root
group: root
mode: 775
when: splunk_path.stat.exists and not splunk_mani.stat.exists