[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:
1 changed files with 1 additions and 0 deletions
@@ -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
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.