-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Nov 22, 2015
1 parent
c230098
commit 5d8caea
Showing
14 changed files
with
121 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
##################################################################################################################### | ||
# Splunk Package Variables | ||
##################################################################################################################### | ||
|
||
splunk_packages: | ||
linux_64_rpm: | ||
package: | ||
version: 6.3.1 | ||
url: "http://download.splunk.com/products/splunk/releases/6.3.1/splunk/linux/splunk-6.3.1-f3e41e4b37b2-linux-2.6-x86_64.rpm" | ||
|
||
linux_64_tgz: | ||
package: | ||
version: "6.3.1" | ||
url: "http://download.splunk.com/products/splunk/releases/6.3.1/splunk/linux/splunk-6.3.1-f3e41e4b37b2-Linux-x86_64.tgz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
##################################################################################################################### | ||
# Splunk Repository Variables | ||
##################################################################################################################### | ||
|
||
splunk_repository: | ||
repository_root: /var/lib/splunk_repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
##################################################################################################################### | ||
# General Variables for site0 | ||
##################################################################################################################### | ||
|
||
splunk_site = site0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
##################################################################################################################### | ||
# General Variables for site1 | ||
##################################################################################################################### | ||
|
||
splunk_site = site1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
##################################################################################################################### | ||
# General Variables for site2 | ||
##################################################################################################################### | ||
|
||
splunk_site = site2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[splunk_repository] | ||
localhost ansible_connection=local | ||
|
||
[splunk_searchheads] | ||
searchhead1.private.domain | ||
searchhead2.private.domain | ||
searchhead3.private.domain | ||
|
||
[splunk_indexers] | ||
indexer1.private.domain | ||
indexer2.private.domain | ||
|
||
[splunk_licensemaster] | ||
searchhead.private.domain | ||
|
||
[splunk_deployer] | ||
deployer.private.domain | ||
|
||
[splunk_masternode] | ||
masternode.private.domain | ||
|
||
[splunk_deploymentserver] | ||
deploymentserver.private.domain | ||
|
||
[splunk_dmc] | ||
dmc.private.domain | ||
|
||
[splunk_site0] | ||
dmc.private.domain | ||
|
||
[splunk_site1] | ||
searchhead1.private.domain | ||
searchhead2.private.domain | ||
indexer1.private.domain | ||
|
||
[splunk_site2] | ||
indexer2.private.domain | ||
|
||
[splunk_sh_cluter_production] | ||
deployer.private.domain | ||
searchhead1.private.domain | ||
searchhead2.private.domain | ||
searchhead3.private.domain | ||
|
||
[splunk_cluster_production] | ||
masternode.private.domain | ||
indexer1.private.domain | ||
indexer2.private.domain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
--- | ||
- hosts: splunk_repository | ||
tasks: | ||
- name: Download Splunk package | ||
get_url: url={{ splunk_installation.package_url }} | ||
dest={{ splunk_repository.repository_root }}/packages | ||
owner={{ splunk_repository.repository_owner }} | ||
group={{ splunk_repository.repository_group }} | ||
mode=644 | ||
- hosts: splunk_repository | ||
tasks: | ||
- name: Download Splunk rpm packages | ||
get_url: url="{{ item.value.url }}" | ||
dest={{ splunk_repository.repository_root }}/packages | ||
owner={{ splunk_repository.repository_owner }} | ||
group={{ splunk_repository.repository_group }} | ||
mode=644 | ||
with_dict: "{{ splunk_packages.linux_64_rpm }}" | ||
when: splunk_installation.package_format == "rpm" | ||
|
||
- name: Download Splunk tgz packages | ||
get_url: url="{{ item.value.url }}" | ||
dest={{ splunk_repository.repository_root }}/packages | ||
owner={{ splunk_repository.repository_owner }} | ||
group={{ splunk_repository.repository_group }} | ||
mode=644 | ||
with_dict: "{{ splunk_packages.linux_64_tgz }}" | ||
when: splunk_installation.package_format == "tgz" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters