diff --git a/playbooks/buildset-registry/post.yaml b/playbooks/buildset-registry/post.yaml index c9277ca..2a46ae6 100644 --- a/playbooks/buildset-registry/post.yaml +++ b/playbooks/buildset-registry/post.yaml @@ -20,3 +20,10 @@ shell: "docker logs buildset_registry &> {{ ansible_user_dir }}/zuul-output/logs/docker/buildset_registry.txt" args: executable: /bin/bash + + # This can be useful to make sure you can put a hold on the + # registry node if you need to debug it + - name: Trigger failure if required + fail: + msg: 'Triggering failure for debugging' + when: buildset_registry_debug_fail|default(false)|bool