A role for deploying softare repository from elastic.co. It provide Elastic Search, Logstash and Kibana software suite.
Supported targets:
- Debian 8 "Jessie"
- Debian 9 "Stretch"
- Debian 10 "Buster"
- Ubuntu 16.04 "Xenial"
- Ubuntu 18.04 "Bionic"
- RedHat EL / CentOS 6
- RedHat EL / CentOS 7
This roles comes preloaded with almost every available default. You can override each one in your hosts/group vars, in your inventory, or in your play. See the annotated defaults in defaults/main.yml
for help in configuration. All provided variables start with elastic_repo__
.
elastic_repo__branch: 7.x
- Branch of repository to setup on the host. curently supported: 5.x, 6.x, 7.x.elastic_repo__local_gpgkey: false
- Use local copy of elastic.co repository GPG key, shipped with the role. Can be usefull for hosts that don't have direct access to internet (using apt-proxy).
Clone this repo into your roles directory:
$ git clone ssh://gitlab.enix.org/ansible/ansible-elastic-repo.git roles/elastic_repo
Or use Ansible galaxy requirements.yml
# enix.elastic_repo galaxy role
And add it to your play's roles:
- hosts: ...
roles:
- enix.elastic_repo
You can also use the role as a playbook. You will be asked which hosts to provision, and you can further configure the play by using --extra-vars
.
$ ansible-playbook -i inventory --extra-vars='{...}' main.yml
Add Debian Buster support Update to 7.x branch by default
Add support for more distribution
Change rolename to enix/elastic_repo
Add support for local GPG key delivery
Debian 9 Stretch support Ubuntu Xenial and Bionic support Allow 5.x and 6.x repository branches
Initial version.