Skip to content
Snippets Groups Projects
Commit 8d9771a0 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 All includes are now include_tasks and they...

ansible-playbooks/general#72 All includes are now include_tasks and they always have a tag associated
parent 4206b488
No related branches found
No related tags found
No related merge requests found
......@@ -3,31 +3,40 @@
- name: "NetData Role"
set_fact: role_netdata_started=true
tags: always
tags: 'always'
- block:
- import_tasks: prepare.yml
- include_tasks: prepare.yml
tags: 'always'
- import_tasks: install.yml
- include_tasks: install.yml
tags: 'always'
- import_tasks: configure.yml
- include_tasks: configure.yml
tags: 'always'
- import_tasks: apache.yml
- include_tasks: apache.yml
when: groups['webserver'] is defined and inventory_hostname in groups['webserver']
tags: 'always'
- import_tasks: elasticsearch.yml
- include_tasks: elasticsearch.yml
when: groups['logserver'] is defined and inventory_hostname in groups['logserver']
tags: 'always'
- import_tasks: haproxy.yml
- include_tasks: haproxy.yml
when: groups['proxyserver'] is defined and inventory_hostname in groups['proxyserver']
tags: 'always'
- import_tasks: mysql.yml
- include_tasks: mysql.yml
when: groups['dbserver-mysql'] is defined and inventory_hostname in groups['dbserver-mysql']
tags: 'always'
- import_tasks: silent.yml
- include_tasks: silent.yml
tags: 'always'
- import_tasks: varnish.yml
- include_tasks: varnish.yml
when: groups['varnishserver'] is defined and inventory_hostname in groups['varnishserver']
tags: 'always'
when: '"netdata" not in excluded_roles'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment