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

ansible-playbooks/general#72 Go back to includes for main.yml files

parent 8d9771a0
No related branches found
No related tags found
No related merge requests found
......@@ -7,36 +7,27 @@
- block:
- include_tasks: prepare.yml
tags: 'always'
- include: prepare.yml
- include_tasks: install.yml
tags: 'always'
- include: install.yml
- include_tasks: configure.yml
tags: 'always'
- include: configure.yml
- include_tasks: apache.yml
- include: apache.yml
when: groups['webserver'] is defined and inventory_hostname in groups['webserver']
tags: 'always'
- include_tasks: elasticsearch.yml
- include: elasticsearch.yml
when: groups['logserver'] is defined and inventory_hostname in groups['logserver']
tags: 'always'
- include_tasks: haproxy.yml
- include: haproxy.yml
when: groups['proxyserver'] is defined and inventory_hostname in groups['proxyserver']
tags: 'always'
- include_tasks: mysql.yml
- include: mysql.yml
when: groups['dbserver-mysql'] is defined and inventory_hostname in groups['dbserver-mysql']
tags: 'always'
- include_tasks: silent.yml
tags: 'always'
- include: silent.yml
- include_tasks: varnish.yml
- include: 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