Hi,
I wonder if following is a valid syntax for creating a block of tasks

$ cat playbook-some.yml
---
- hosts: all
  vars_files:
       - ./vars_defaults.yml

  tasks:
    block
    - name: Doing measure A
      import_role:
         name: vendor1.measureA
    - name: Doing measure B
      import_role:
         name: vendor1.measureB
    when: do_measures_a_till_b

Question is about the lack of "- name: some description" line before block.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2348516e-8c36-497f-9367-47820c232ce4%40googlegroups.com.

Reply via email to