Ansible/playbook/linux/elastic/role-test.yml
James Tombleson b7facd7394 Role Adjustments
Added Sensu
Moved default role downloads to ./roles
Added unattended-upgrades
2019-04-29 07:08:11 -07:00

27 lines
735 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
- http://192.168.0.60:9200