asc.core.services_elastic role – Deploy the Elastic Stack monitoring server and enrol agents
Note
This role is part of the asc.core collection (version 2.0.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: git clone git@ssh.dev.azure.com:v3/cloudasc/iac-ansible-collections/core $HOME/.ansible/collections/ansible_collections/asc/core.
To use it in a playbook, specify: asc.core.services_elastic.
Entry point main – Deploy the Elastic Stack monitoring server and enrol agents
New in asc.core 1.0.0
Synopsis
Deploys a Dockerised Elastic Stack - an Elasticsearch cluster, Kibana and a Fleet server - on a dedicated VM, with its data held on a separate managed data disk and TLS between the nodes.
When the role runs against any other host in the environment it installs the Elastic Agent and enrols it into Fleet, so logs and metrics flow back to this server.
A Guacamole connection to Kibana is created for the users tagged for access in
users.csv.
Parameters
Parameter |
Comments |
|---|---|
Working directory on Linux hosts for the Elastic agent installer. Default: |
|
‘services_elastic’ role configuration |
|
License type to use
Choices:
|
|
Password for the Elastic user Default: |
|
Path to save the docker configuration and volumes on the server Default: |
|
Version of the Elastic stack to install Default: |
|
Whether to enable the Elastic stack Choices:
|
|
Password for the Kibana user Default: |
|
Mountpoint for the extra data disk Default: |
|
Size of the extra data disk (in GB) Default: |
|
Name of the VM to deploy Default: |
|
Size of the VM to deploy (Azure VM size) Default: |
|
Working directory on Windows hosts for the Elastic agent installer. Default: |