You've already forked splunk-upgrade
Project Restructure
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -100,3 +100,7 @@ ENV/
|
||||
# Files directory
|
||||
files/*
|
||||
!files/.gitkeep
|
||||
|
||||
# Inventory directory
|
||||
inventory/*
|
||||
!inventory/.gitkeep
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
- name: Upgrade the Indexer Master
|
||||
hosts: index-cluster-masters
|
||||
become: true
|
||||
handlers:
|
||||
- import_tasks: handlers/splunk.yml
|
||||
tasks:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
- name: Upgrade the Deployment Server
|
||||
hosts: deployment-servers
|
||||
become: true
|
||||
handlers:
|
||||
- import_tasks: handlers/splunk.yml
|
||||
tasks:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
0
inventory/.gitkeep
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user