Hi all, apparently attributes on include tasks are not propagated to the tasks anymore in 2.5
For some reasons i need dynamic includes. > 1. How would I pass `become` to `include_role` > > The usecase: When I develop a role, it is sometimes based on dynamic facts. In my role I often use the following pattern: # tasks/main.yml - include_tasks: preparation.yml - include_tasks: configuration.yml become: True - include_tasks: finish.yml become: True As all of the tasks in `configuration.yml` require `become` And I am trying to avoid redundancy. On the other Hand I would not like people to have to include the role with a global `become` statement. -- 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/053bd9ec-1364-4d35-a9b5-e47e498aabc5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
