1
0
mirror of https://github.com/inofix/common-playbooks.git synced 2026-02-05 12:45:29 +01:00
Files
common-playbooks/install-elasticsearch.yml
Michael Lustenberger 747855f634 Deprecation Warnings
Move to use import_playbook instead of include..
2024-03-30 12:28:47 +01:00

26 lines
787 B
YAML

#* This playbook wrapps the apt (and others maybe in the future..) module
#* to install the elasticsearch package.
#* Note: this playbook should be used either from the main install playbook
#* (which resolves its dependencies) or as a shorthand for an already set up
#* system, where the dependencies are already provided.
#* Use '-a' to pass parameters to ansible (as '-e'). See ansible fetch for
#* details.
#* No arguments are mandatory.
- import_playbook: install-java.yml
- hosts: app.elasticsearch
roles:
- { role: inofix.ansible_elasticsearch }
# not enabling this yet, as it only tracks 'today'
# it is only useful for human communication and needs
# to be combined with something smarter as
# dpkg --get-selections
#- hosts: all
# roles:
# - track-packages