Order of roles execution in playbook

I have the following that as of 1.9.4, executed the roles in the order in which they are listed:

  • hosts: all
    max_fail_percentage: 0
    gather_facts: no
    roles:
  • repositories
  • yum-packages
  • pip-packages
  • java

With Ansible 2.X, this playbook begins by executing the java role.

Can I no longer assume a playbook like this will be executed in the listed order?

I’m stumped, am I missing something fundamental here re: Ansible 2.X ?

Thanks !

nobody?

The only thing I could suggest is that maybe you have/were or your Ansible environment is using a different strategy plugin.
http://docs.ansible.com/ansible/playbooks_strategies.html

or that you are using tags?

Do all the roles get executed? Is there any indents or tabs that have been added to the playbook so only some roles work?