Ansible/playbook/linux/elastic/role-test.yml
James Tombleson b27e8dda28 Moved Kibana to a role
Untested but should be moved over.
2019-04-26 16:01:55 -07:00

26 lines
683 B
YAML

- name: testing elastic role
hosts: elastic
tasks:
- name: test role
import_role:
name: elasticsearch
vars:
cluster_name: "loggin-dev"
ufw_http_port: true
ufw_transport_port: true
systemd_enabled: true
systemd_restart: true
- name: install kibana
import_role:
name: kibana
vars:
server_port: 5601
server_host: ansible_default_ipv4.address
server_name: ansible_hostname
elasticsearch_hosts:
- http://192.168.0.173:9200