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

Replace deprecated "include" directive in Ansible 2.4

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