-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathinstall_skalogs.yml
36 lines (34 loc) · 2.78 KB
/
install_skalogs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
#./ansible-playbook_wrapper install_skalogs.yml -K -e "NAME_PROJECT=myproject"
- hosts: "{{ NAME_PROJECT}}[0]"
gather_facts: no
roles:
- {role: AdopteUnOps.rancher-create-project, tags: rancher-create-project}
- hosts: "{{ NAME_PROJECT }}"
pre_tasks:
# force reload of apikey, as it's cached by ansible when we first trigger the playbook
- include_vars: "{{ inventory_dir }}/group_vars/{{ NAME_PROJECT }}/apikey.yml"
roles:
- {role: AdopteUnOps.docker-login, tags: docker-login}
- {role: AdopteUnOps.rancher-add-host, tags: add-host}
- hosts: "{{ NAME_PROJECT}}[0]"
gather_facts: no
roles:
- {role: AdopteUnOps.rancher-install-stack, stack_name: janitor, tags: [install-stack, janitor]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: elk-monitoring, tags: [install-stack, elk-monitoring]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: prometheus, tags: [install-stack, prometheus]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: elasticsearch, tags: [install-stack, elasticsearch]}
- {role: AdopteUnOps.rancher-scale-service, service_fqdn: "elasticsearch/elasticsearch-master", service_scale: "{{elasticsearch_master_scale}}", tags: [scale,elasticsearch]}
- {role: AdopteUnOps.rancher-scale-service, service_fqdn: "elasticsearch/elasticsearch-data", service_scale: "{{elasticsearch_data_scale}}", tags: [scale,elasticsearch]}
- {role: AdopteUnOps.rancher-scale-service, service_fqdn: "elasticsearch/elasticsearch-client", service_scale: "{{elasticsearch_client_scale}}", tags: [scale,elasticsearch]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: zookeeper, tags: [install-stack, zookeeper]}
- {role: AdopteUnOps.rancher-scale-service, service_fqdn: "zookeeper/zookeeper", service_scale: "{{zookeeper_scale}}", tags: [scale,zookeeper]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: kafka, tags: [install-stack, kafka]}
- {role: AdopteUnOps.rancher-scale-service, service_fqdn: "kafka/kafka", service_scale: "{{kafka_scale}}", tags: [scale,kafka]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: etl, tags: [install-stack, etl]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: importer, tags: [install-stack, importer]}
- {role: AdopteUnOps.rancher-scale-service, service_fqdn: "importer/process-importer", service_scale: "{{process_importer_scale}}", tags: [scale,importer]}
- {role: AdopteUnOps.rancher-scale-service, service_fqdn: "importer/metric-importer", service_scale: "{{metric_importer_scale}}", tags: [scale,importer]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: kibana, tags: [install-stack, kibana]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: documentation, tags: [install-stack, doc]}
- {role: AdopteUnOps.rancher-install-stack, stack_name: endpoints, tags: [install-stack, endpoints]}