Skip to content

Commit

Permalink
Merge pull request #55 from istresearch/PULSE-2498
Browse files Browse the repository at this point in the history
PULSE-2498: Update Ansible Symphony IST Repo for Comicbooks Dev Deployment
  • Loading branch information
brascher authored Jul 26, 2016
2 parents b4d246a + d3abaf8 commit ed4ab9a
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 17 deletions.
34 changes: 34 additions & 0 deletions group_vars/pulse-comicbooks-ist/vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# file: group_vars/pulse-comicbooks-ist
# Override group_vars for local vagrant testing

swap_run: false
pip_local: false

elasticsearch_heap_size: 2g
gnip_monitor_autostart: "false"
gnip_monitor_data_dir: /tmp
gnip_monitor_es_port: 9200
kafka_data_log_dir:
- "/opt/kafka/topic-logs"
crawler_es_port: 9200
monitis: false
elastalert_autostart: false
elastalert_es1_port: 9200
elastalert_es2_port: 9200
elastalert_es3_port: 9200
elastalert_es4_port: 9200
elastalert_es5_port: 9200
storm_worker_ports: [ 6701 ]

pulse_url_host: "{{ inventory_hostname }}"
pulse_listen_port: 443

pulse_self_signed_ssl: true
pulse_self_signed_url: true
pulse_local_install: false

mysql_db_host: comic-books.istresarch.com
pulse_mysql_admin_login:
user: "{{ mysql_root_username }}"
password: "{{ mysql_root_password }}"
11 changes: 11 additions & 0 deletions host_vars/comic-books.istresearch.com/vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
# file: host_vars/comic-books.istresearch.com
# Override group_vars for local vagrant testing

pulse_repo_user: "{{ vault_comicbooks_repository_un }}"
pulse_repo_password: "{{ vault_comicbooks_repository_pwd }}"
pulse_repo_location: "https://{{ repository_host }}"

repository_un: "{{ vault_comicbooks_repository_un }}"
repository_pwd: "{{ vault_comicbooks_repository_pwd }}"
repository_infrastructure: "https://{{ repository_un }}:{{ repository_pwd }}@{{ repository_host }}/infrastructure"
10 changes: 10 additions & 0 deletions host_vars/comic-books.istresearch.com/vault
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$ANSIBLE_VAULT;1.1;AES256
66333933653032383731306130353133373464316363623864643066323935353535343438633036
3035653633373033363865366331303036653733313734650a616237656233386163313734636436
62613265396530653030333039656661356266386531313162303862376435353761656231343635
3034353735663333320a363764363962363537383034323265363663373564393766376237303166
33343561393465666264353162376132313438646638333963306332363839366163643831626431
32613338303863616635363035333732643939306530336136633161333362656237306266653937
38656161646264623631313739633863373766326237343961623966346133333235663633643833
33376362306633643531366665303863363364613263393930313435633461393734323935356239
3836
42 changes: 42 additions & 0 deletions host_vars/pulse-comicbooks/vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
# file: group_vars/pulse-comicbooks
# Override group_vars for local vagrant testing

pulse_repo_user: "{{ vault_comicbooks_repository_un }}"
pulse_repo_password: "{{ vault_comicbooks_repository_pwd }}"
pulse_repo_location: "https://{{ repository_host }}"

repository_un: "{{ vault_comicbooks_repository_un }}"
repository_pwd: "{{ vault_comicbooks_repository_pwd }}"
repository_infrastructure: "https://{{ repository_un }}:{{ repository_pwd }}@{{ repository_host }}/infrastructure"

swap_run: false
pip_local: false

elasticsearch_heap_size: 2g
gnip_monitor_autostart: "false"
gnip_monitor_data_dir: /tmp
gnip_monitor_es_port: 9200
kafka_data_log_dir:
- "/opt/kafka/topic-logs"
crawler_es_port: 9200
monitis: false
elastalert_autostart: false
elastalert_es1_port: 9200
elastalert_es2_port: 9200
elastalert_es3_port: 9200
elastalert_es4_port: 9200
elastalert_es5_port: 9200
storm_worker_ports: [ 6701 ]

pulse_url_host: "{{ inventory_hostname }}"
pulse_listen_port: 443

pulse_self_signed_ssl: true
pulse_self_signed_url: true
pulse_local_install: false

mysql_db_host: pulse-comicbooks
pulse_mysql_admin_login:
user: "{{ mysql_root_username }}"
password: "{{ mysql_root_password }}"
10 changes: 10 additions & 0 deletions host_vars/pulse-comicbooks/vault
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$ANSIBLE_VAULT;1.1;AES256
66333933653032383731306130353133373464316363623864643066323935353535343438633036
3035653633373033363865366331303036653733313734650a616237656233386163313734636436
62613265396530653030333039656661356266386531313162303862376435353761656231343635
3034353735663333320a363764363962363537383034323265363663373564393766376237303166
33343561393465666264353162376132313438646638333963306332363839366163643831626431
32613338303863616635363035333732643939306530336136633161333362656237306266653937
38656161646264623631313739633863373766326237343961623966346133333235663633643833
33376362306633643531366665303863363364613263393930313435633461393734323935356239
3836
55 changes: 55 additions & 0 deletions pulse-comicbooks-ist.inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# - Comments begin with the '#' character
# - Blank lines are ignored
# - Groups of hosts are delimited by [header] elements
# - You can enter hostnames or ip addresses
# - A hostname/ip can be a member of multiple groups


[all:vars]
repository_host=cyto.istresearch.com/comicbooks
slack_report=false

#
# Infrastructure and software topology
#

[pulse-comicbooks:children]
elasticsearch-nodes
kibana-node
docker-engine
apache-node
mysql-node
pulse-ui-node
pulse-mysql-es-host

[elasticsearch-master-nodes]
# data node serves as master also

[elasticsearch-data-nodes]
comic-books.istresearch.com elasticsearch_is_master=true

[elasticsearch-client-nodes]


[elasticsearch-nodes:children]
elasticsearch-master-nodes
elasticsearch-data-nodes
elasticsearch-client-nodes

[kibana-node]
comic-books.istresearch.com

[docker-engine]
comic-books.istresearch.com

[apache-node]
comic-books.istresearch.com

[mysql-node]
comic-books.istresearch.com

[pulse-ui-node]
comic-books.istresearch.com

[pulse-mysql-es-host]
comic-books.istresearch.com
25 changes: 8 additions & 17 deletions pulse-comicbooks.inventory
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,18 @@


[all:vars]
repository_host=repo.istresearch.com
repository_host=cyto.istresearch.com/comicbooks
slack_report=false

#
# Infrastructure and software topology
#

[pulse-comicbooks:children]
elasticsearch-nodes
kibana-node
docker-engine
apache-node
mysql-node
pulse-ui-node
pulse-mysql-es-host

[elasticsearch-master-nodes]
# data node serves as master also

[elasticsearch-data-nodes]
comic-books.istresearch.com elasticsearch_is_master=true
pulse-comicbooks elasticsearch_is_master=true

[elasticsearch-client-nodes]

Expand All @@ -37,19 +28,19 @@ elasticsearch-data-nodes
elasticsearch-client-nodes

[kibana-node]
comic-books.istresearch.com
pulse-comicbooks

[docker-engine]
comic-books.istresearch.com
pulse-comicbooks

[apache-node]
comic-books.istresearch.com
pulse-comicbooks

[mysql-node]
comic-books.istresearch.com
pulse-comicbooks

[pulse-ui-node]
comic-books.istresearch.com
pulse-comicbooks

[pulse-mysql-es-host]
comic-books.istresearch.com
pulse-comicbooks

0 comments on commit ed4ab9a

Please sign in to comment.