Commit 9b832752 authored by Jürgen Haas's avatar Jürgen Haas

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

parent f230d05f
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment