From 3962f93d436c9f33ceb9463d42cc5b192bad733d Mon Sep 17 00:00:00 2001 From: Kathryn Killebrew Date: Wed, 26 Sep 2018 12:16:09 -0400 Subject: [PATCH] Add back condition to graph copy Do not attempt to copy back to host on production build. Fixes #1086. --- deployment/ansible/roles/cac-tripplanner.otp-data/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/ansible/roles/cac-tripplanner.otp-data/tasks/main.yml b/deployment/ansible/roles/cac-tripplanner.otp-data/tasks/main.yml index 7d85fb998..bcbdd52b8 100644 --- a/deployment/ansible/roles/cac-tripplanner.otp-data/tasks/main.yml +++ b/deployment/ansible/roles/cac-tripplanner.otp-data/tasks/main.yml @@ -43,6 +43,7 @@ when: test or (develop and not graph.stat.exists) - name: Copy Built OTP Graph to Host (develop) + when: develop and graph_build|changed synchronize: mode: pull src: "{{ otp_data_dir }}/Graph.obj"