--- # # Playbook to install the ELK stack for browbeat # - hosts: elk remote_user: root roles: - { role: epel } - { role: elasticsearch } - { role: fluentd, when: (logging_backend == 'fluentd') } - { role: logstash, when: ((logging_backend is none) or (logging_backend == 'logstash')) } - { role: nginx } - { role: curator, when: install_curator_tool } - { role: kibana } - hosts: localhost remote_user: "{{ local_remote_user }}" roles: - { role: es-template }