tripleo-quickstart-extras/playbooks/scale_nodes.yml
Attila Darazs 1f47f3afd9 Correct role renames in the imported playbooks
Change-Id: I5d6d7759c12fa8a95a4b33204b95670b2291df3d
2016-11-22 16:49:04 +01:00

29 lines
953 B
YAML

---
################
# Deploy Nodes #
################
# From tripleo-quickstart/playbooks
- include: quickstart-extras.yml
###############
# Scale Nodes #
###############
# Scale nodes w/o delete
- name: Scale overcloud nodes
hosts: undercloud
roles:
- { role: overcloud-scale, artosn_scale_nodes: true, artosn_delete_original_node: false }
# Delete the original node of type that was scaled - ensure overcloud validates after reducing scale
- name: Delete original node of type scaled
hosts: undercloud
roles:
- { role: overcloud-scale, artosn_scale_nodes: false, artosn_delete_original_node: true }
# NOTE(hrybacki: inventory regeneration and overcloud validation must be completed in a second playbook. The
# deleted node is removed from the hosts file. However, it still exists in memory and will cause the
# 'ansible-role-tripleo-inventory: regenerate ssh config' task to fail when attempting to acces non-existant host vars