Install elk-node package.
This role requires Ansible 2.5 or higher, and platform requirements are listed in the metadata file.
This role use Molecule to run tests.
Local tests runs on Docker by default. See molecule documentation to use other backend.
Currently, tests are done on:
- CentOS 7
- Debian Stretch
- Ubuntu Bionic
and use:
- Ansible 2.5.x
- Ansible 2.6.x
$ tox
You can also configure molecule options, molecule command and private key to use with Gitlab using environment variables:
MOLECULE_OPTIONS
Default: "--debug"MOLECULE_COMMAND
Default: "test"MOLECULE_PRIVATE_KEY_FILE
Default ""
MOLECULE_PRIVATE_KEY_FILE=/home/alexandre/.ssh/ci-molecule MOLECULE_OPTIONS='' MOLECULE_COMMAND=converge tox
None
- hosts: servers
roles:
- { role: infopen.elk-node }
MIT
Alexandre Chaussier (for Infopen company)
- https://infopen.pro
- alexandre.chaussier [at] infopen.pro