Just a quick question regarding the include_role thing:

It seems that the "name" of the include_role task needs to match the role 
name, is anybody else seeing the same? For example, if my role is called 
"myrole", then this doesnt work:
---
- name: Do stuff to stuff
  hosts: localhost
  tasks:
    - name: do the thing
      include_role:
        name: myrole

While this works:
---
- name: Do stuff to stuff
  hosts: localhost
  tasks:
    - name: myrole
      include_role:
        name: myrole

btw: this is such an awesome feature. It's gonna fundamentally change how 
we write playbooks. Thanks!

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/50ba0c52-bb26-4289-bab0-a2decb995857%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to