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

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

parent f230d05f
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,11 @@
- block:
- import_tasks: install.yml
- name: Import install
import_tasks: install.yml
- include_tasks: index.yml
- name: Include index
include_tasks: index.yml
with_items:
- haproxy
- ansible
......@@ -19,7 +21,10 @@
loop_control:
loop_var: index
- import_tasks: purge.yml
- import_tasks: readonly.yml
- name: Import purge
import_tasks: purge.yml
- name: Import readonly
import_tasks: readonly.yml
when: not excluded_roles or "elasticsearch" not in excluded_roles
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment