[subnode setup] Fail the playbook when any node setup fails

Currently on the multinode jobs, job continue to run even
if devstack setup fails on any of the subnode and then fails later
when required conditions are not met.
This patch changes it to fail if any of the node setup fails using
any_errors_fatal: true.
Change-Id: I2acd8a1fe0802ee1880df2ef794f8e7d7478b67b
Signed-off-by: Yatin Karel <ykarel@redhat.com>
This commit is contained in:
2025年09月29日 17:03:48 +05:30
parent a3e37c86ca
commit 581d0a1d60

View File

@@ -4,6 +4,7 @@
when:inventory_hostname == 'controller'
- name:Setup devstack on sub-nodes
any_errors_fatal:true
block:
- name:Distribute the build sshkey for the user "stack"
Reference in New Issue
openstack/devstack
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.