Skip to content
Snippets Groups Projects
Commit 4bdeb372 authored by jurgenhaas's avatar jurgenhaas
Browse files

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

parent a819e5f5
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,8 @@
- block:
- import_tasks: serverdensity.yml
- name: Import serverdensity
import_tasks: serverdensity.yml
when: sd_api_token != ''
when: not excluded_roles or "serverdensity" not in excluded_roles
---
# file: roles/serverdensity/tasks/serverdensity.yml
- import_tasks: uninstallv1.yml
- name: Import uninstallv1
import_tasks: uninstallv1.yml
when: sd_uninstallv1
- name: Init SD plugin
......@@ -61,8 +62,10 @@
notify:
- Restart Agent
- import_tasks: apache.yml
- name: Import apache
import_tasks: apache.yml
when: sd_groups.apache != 'none' and inventory_hostname in groups[sd_groups.apache]
- import_tasks: mysql.yml
- name: Import mysql
import_tasks: mysql.yml
when: sd_groups.mysql != 'none' and inventory_hostname in groups[sd_groups.mysql]
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