Skip to content
Snippets Groups Projects
Commit 62ab9cfd authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 Replace include_tasks with import_tasks

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