Ansible/playbook/linux/elastic/role-test.yml

26 lines
683 B
YAML
Raw Normal View History

- 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
- 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