Skip to content
Snippets Groups Projects
Commit 5955660b 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 62ab9cfd
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,12 @@
- name: "ServerDensity Role"
set_fact: role_serverdensity_started=true
tags: always
tags: 'always'
- block:
- import_tasks: serverdensity.yml
- include_tasks: serverdensity.yml
when: sd_api_token != ''
tags: 'always'
when: '"serverdensity" not in excluded_roles'
---
# file: roles/serverdensity/tasks/serverdensity.yml
- import_tasks: uninstallv1.yml
- include_tasks: uninstallv1.yml
when: sd_uninstallv1
tags: 'always'
- name: "ServerDensity | Init SD plugin"
local_action:
......@@ -58,8 +59,10 @@
when: sd_agent_key != ''
notify: "ServerDensity | Restart Agent"
- import_tasks: apache.yml
- include_tasks: apache.yml
when: sd_groups.apache != 'none' and inventory_hostname in groups[sd_groups.apache]
tags: 'always'
- import_tasks: mysql.yml
- include_tasks: mysql.yml
when: sd_groups.mysql != 'none' and inventory_hostname in groups[sd_groups.mysql]
tags: 'always'
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