Use role_name instead of tripleo_role_name

Queens is still using Ansible role_name and not
tripleo_role_name.

Change-Id: Ibd1a900331f68655af7a191ed8ea94e74af64371
Closes-Bug: 1778668
This commit is contained in:
Janki Chhatbar 2018-06-26 14:47:57 +05:30
parent 255f34603d
commit d057301f63
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ outputs:
loop_var: step
{%- for role in roles %}
- include: {{role.name}}/host_prep_tasks.yaml
when: tripleo_role_name == '{{role.name}}'
when: role_name == '{{role.name}}'
{%- endfor %}
- include: common_deploy_steps_tasks.yaml
with_sequence: start=1 end={{deploy_steps_max-1}}