From 30d39b8921c385ba9c076bec4653be54eec58297 Mon Sep 17 00:00:00 2001 From: Toni Oliver Date: Wed, 4 Oct 2023 13:34:04 +0200 Subject: [PATCH] Add new API call --- ansible/roles/docker/ecr/tasks/main.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ansible/roles/docker/ecr/tasks/main.yml b/ansible/roles/docker/ecr/tasks/main.yml index b42df34f3..9254c4c3b 100644 --- a/ansible/roles/docker/ecr/tasks/main.yml +++ b/ansible/roles/docker/ecr/tasks/main.yml @@ -23,13 +23,23 @@ - name: Choosing which API call to make. block: + - name: Choose Trajectory Studio + set_fact: + api_url: g7dxkznkbk + region: eu-west-2 + when: + - '"polhemus" in image' + - '"binary" in image' + - '"shinfang" in image' + - name: Choose Polhemus set_fact: api_url: 5bo8nfkjk0 region: eu-west-2 when: - '"polhemus" in image' - - '"binary" in image' + - '"binary" in image' + - '"shinfang" not in image' - name: Choose Haptx set_fact: