Merge "Fix secondary (overcloud) subnode indexes"
This commit is contained in:
commit
e0ab18e147
|
@ -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 }}'
|
||||
|
|
Loading…
Reference in New Issue