--- - hosts: all roles: - devstack-tobiko-vagrant - hosts: devstack-primary roles: - devstack-tobiko-deploy - get-clouds-file - get-vagrant-ssh-config vars: devstack_primary: true devstack_plugin_tobiko_src_dir: >- {{ playbook_dir | realpath | dirname | dirname }} - hosts: devstack-secondary-* roles: - role: devstack-tobiko-deploy vars: devstack_primary: false