2019-04-25 15:25:52 -07:00
|
|
|
|
|
|
|
- name: testing elastic role
|
|
|
|
hosts: elastic
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- name: test role
|
|
|
|
import_role:
|
|
|
|
name: elasticsearch
|
|
|
|
vars:
|
2019-04-26 12:35:26 -07:00
|
|
|
cluster_name: "loggin-dev"
|
|
|
|
ufw_http_port: true
|
|
|
|
ufw_transport_port: true
|
|
|
|
systemd_enabled: true
|
|
|
|
systemd_restart: true
|
2019-04-25 15:25:52 -07:00
|
|
|
|
2019-04-26 16:01:55 -07:00
|
|
|
- name: install kibana
|
|
|
|
import_role:
|
|
|
|
name: kibana
|
|
|
|
vars:
|
|
|
|
server_port: 5601
|
|
|
|
server_host: ansible_default_ipv4.address
|
|
|
|
server_name: ansible_hostname
|
|
|
|
elasticsearch_hosts:
|
2019-04-29 07:08:11 -07:00
|
|
|
#- http://192.168.0.173:9200
|
|
|
|
- http://192.168.0.60:9200
|
2019-04-26 16:01:55 -07:00
|
|
|
|