Old question BUT for the record: use Ansible 2.2+ and you’re good to go with include_role
. Exactly for this very purpose… see documentation here.
Check out import_role
as well… see documentation here
Old question BUT for the record: use Ansible 2.2+ and you’re good to go with include_role
. Exactly for this very purpose… see documentation here.
Check out import_role
as well… see documentation here