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

ansible-playbooks/general#85 Name import and include tasks

parent aad99ffa
No related branches found
No related tags found
No related merge requests found
......@@ -9,30 +9,40 @@
- block:
- import_tasks: prepare.yml
- name: Import prepare
import_tasks: prepare.yml
- import_tasks: install.yml
- name: Import install
import_tasks: install.yml
- import_tasks: configure.yml
- name: Import configure
import_tasks: configure.yml
- import_tasks: apache.yml
- name: Import apache
import_tasks: apache.yml
when: groups['webserver'] is defined and inventory_hostname in groups['webserver']
- import_tasks: elasticsearch.yml
- name: Import elasticsearch
import_tasks: elasticsearch.yml
when: groups['logserver'] is defined and inventory_hostname in groups['logserver']
- import_tasks: haproxy.yml
- name: Import haproxy
import_tasks: haproxy.yml
when: groups['proxyserver'] is defined and inventory_hostname in groups['proxyserver']
- import_tasks: mysql.yml
- name: Import mysql
import_tasks: mysql.yml
when: groups['dbserver_mysql'] is defined and inventory_hostname in groups['dbserver_mysql']
- import_tasks: silent.yml
- name: Import silent
import_tasks: silent.yml
- import_tasks: varnish.yml
- name: Import varnish
import_tasks: varnish.yml
when: groups['varnishserver'] is defined and inventory_hostname in groups['varnishserver']
- import_tasks: heartbeat.yml
- name: Import heartbeat
import_tasks: heartbeat.yml
when: netdata_heartbeat|default(true)
when: not excluded_roles or "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