Re: [ansible-project] Enabling delegate_to on include_role via block

2019-05-04 Thread Matt Martz
This is expected. There is documentation to this effect at https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.5.html#dynamic-includes-and-attribute-inheritance As of Ansible 2.7 see the "apply" argument to include_tasks and include_role to do what you want. On Sat, May 4, 2019

[ansible-project] Enabling delegate_to on include_role via block

2019-05-04 Thread Tim Diels
Hi, I noticed that while: - include_role: name: myrole delegate_to: somehost will not delegate the included role, this will: - block: - include_role: name: myrole delegate_to: somehost Is this by design, i.e. I may rely on it, or is this a fluke