You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
568 B
YAML
24 lines
568 B
YAML
---
|
|
|
|
- name: Use the correct debian repository
|
|
set_fact:
|
|
curator_debian_repository: '{% if ansible_distribution_release == "jessie" %}debian{% else %}debian9{% endif %}'
|
|
|
|
- name: Curator sources list is available
|
|
apt_repository:
|
|
repo: "deb https://packages.elastic.co/curator/5/{{ curator_debian_repository }} stable main"
|
|
filename: curator
|
|
update_cache: yes
|
|
state: present
|
|
tags:
|
|
- curator
|
|
- packages
|
|
|
|
- name: Curator package is installed
|
|
apt:
|
|
name: elasticsearch-curator
|
|
state: present
|
|
tags:
|
|
- curator
|
|
- packages
|