--- - name: Setup new server hosts: '{{ type }}' user: deploy sudo: True vars_files: - ./config.yml tasks: - include: "{{ task_path }}/all/install.yml" - include: "{{ task_path }}/all/update-conf.yml" - include: "{{ task_path }}/{{ type }}/install-all-app.yml" - include: "{{ task_path }}/{{ type }}/update-all-conf.yml" handlers: - include: "{{ root_path }}/handlers/handlers.yml"