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 directory
|
||||||
files/*
|
files/*
|
||||||
!files/.gitkeep
|
!files/.gitkeep
|
||||||
|
|
||||||
|
# Inventory directory
|
||||||
|
inventory/*
|
||||||
|
!inventory/.gitkeep
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Upgrade the Indexer Master
|
- name: Upgrade the Indexer Master
|
||||||
hosts: index-cluster-masters
|
hosts: index-cluster-masters
|
||||||
become: true
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: handlers/splunk.yml
|
- import_tasks: handlers/splunk.yml
|
||||||
tasks:
|
tasks:
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Upgrade the Deployment Server
|
- name: Upgrade the Deployment Server
|
||||||
hosts: deployment-servers
|
hosts: deployment-servers
|
||||||
become: true
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: handlers/splunk.yml
|
- import_tasks: handlers/splunk.yml
|
||||||
tasks:
|
tasks:
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
# Automagically included by ansible for all inventory
|
# Automagically included by ansible for all inventory
|
||||||
splunk_user: splunk
|
splunk_user: splunk
|
||||||
splunk_home: /opt/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.
|
# 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
|
- name: Upgrade the Heavyweights
|
||||||
hosts: heavyweight-forwarders
|
hosts: heavyweight-forwarders
|
||||||
become: true
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: handlers/splunk.yml
|
- import_tasks: handlers/splunk.yml
|
||||||
tasks:
|
tasks:
|
||||||
|
|||||||
0
inventory/.gitkeep
Normal file
0
inventory/.gitkeep
Normal file
@@ -27,8 +27,6 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "{{ splunk_archive }}"
|
src: "{{ splunk_archive }}"
|
||||||
dest: /tmp/splunk
|
dest: /tmp/splunk
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 775
|
mode: 775
|
||||||
when: splunk_path.stat.exists and not splunk_mani.stat.exists
|
when: splunk_path.stat.exists and not splunk_mani.stat.exists
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user