diff --git a/ansible/roles/azure_kinect/tasks/main.yaml b/ansible/roles/azure_kinect/tasks/main.yaml index 490d4d0c500..9e7c4673a6c 100644 --- a/ansible/roles/azure_kinect/tasks/main.yaml +++ b/ansible/roles/azure_kinect/tasks/main.yaml @@ -38,7 +38,7 @@ mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release - make -j$(nproc) + make register: build_result changed_when: build_result.rc == 0 become: true