ansible-roles/elastic-sources-list/tasks/main.yml

31 lines
563 B
YAML
Raw Normal View History

2016-11-15 18:23:53 +01:00
---
- name: APT https transport is enabled
apt:
name: apt-transport-https
state: present
2016-11-15 18:23:53 +01:00
tags:
- elastic
- system
- packages
2016-11-15 18:23:53 +01:00
- name: Elastic GPG key is installed
apt_key:
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
state: present
tags:
- elastic
- system
- packages
2016-11-15 18:23:53 +01:00
- name: Elastic sources list is available
apt_repository:
repo: "deb https://artifacts.elastic.co/packages/5.x/apt stable main"
2017-05-23 15:35:26 +02:00
filename: elastic.list
2016-11-15 18:23:53 +01:00
state: present
update_cache: yes
2016-11-15 18:23:53 +01:00
tags:
- elastic
- system
- packages