Roles have dependencies

This commit is contained in:
Jérémy Lecour 2016-11-18 12:04:19 +01:00 committed by Jérémy Lecour
parent 91361d0c1d
commit 64c11c1296
8 changed files with 18 additions and 6 deletions

View file

@ -0,0 +1,4 @@
---
dependencies:
- { role: java8 }
- { role: elastic-sources-list }

3
filebeat/meta/main.yml Normal file
View file

@ -0,0 +1,3 @@
---
dependencies:
- { role: elastic-sources-list }

3
java8/meta/main.yml Normal file
View file

@ -0,0 +1,3 @@
---
dependencies:
- { role: apt-backports }

3
kibana/meta/main.yml Normal file
View file

@ -0,0 +1,3 @@
---
dependencies:
- { role: elastic-sources-list }

4
logstash/meta/main.yml Normal file
View file

@ -0,0 +1,4 @@
---
dependencies:
- { role: java8 }
- { role: elastic-sources-list }

View file

@ -6,7 +6,6 @@
roles:
# - { role: apt-upgrade, apt_upgrade_mode: safe }
- apt-upgrade
- apt-backports
# - munin
# - monit
# - redis
@ -21,11 +20,7 @@
# nginx_private_htpasswd_absent: ["toto:dsfgdfsdf"]
# }
# - apache
- java8
# - { role: elasticsearch, elasticsearch_custom_tmpdir: "/var/lib/elasticsearch/tmp" }
- elastic-source-list
- elasticsearch
# - elasticsearch-plugin-head
- { role: elasticsearch, elasticsearch_jvm_heap: "256m" }
- elasticsearch-plugin-head
- kibana
- logstash