Merge "Fix secondary (overcloud) subnode indexes"

This commit is contained in:
Zuul 2019-10-04 13:49:55 +00:00 committed by Gerrit Code Review
commit e0ab18e147
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
- name: Add subnode to ansible inventory
with_indexed_items: '{{ nodes.stdout_lines | default([]) }}'
add_host:
name: 'subnode-{{ item.0 + 2 }}'
name: 'subnode-{{ item.0 + 1 }}'
groups: "overcloud"
ansible_host: '{{ item.1 }}'
inventory_ip: '{{ item.1 }}'