From aff19c68a1b9d7119403739e786b0cb8323dc43f Mon Sep 17 00:00:00 2001 From: bcurran3 Date: Wed, 17 Aug 2022 19:07:57 -0700 Subject: [PATCH 1/5] correct container name --- roles/speedtest-tracker/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/speedtest-tracker/tasks/main.yml b/roles/speedtest-tracker/tasks/main.yml index cc870a06..5275edff 100644 --- a/roles/speedtest-tracker/tasks/main.yml +++ b/roles/speedtest-tracker/tasks/main.yml @@ -8,7 +8,7 @@ - name: Speedtest-Tracker Docker Container docker_container: - name: speedtest_tracker + name: speedtest-tracker image: henrywhitaker3/speedtest-tracker:latest pull: true volumes: From a9d3b7bd1637e8c5090298b9bbaa5a313f993e30 Mon Sep 17 00:00:00 2001 From: bcurran3 Date: Thu, 18 Aug 2022 01:34:45 -0700 Subject: [PATCH 2/5] Update main.yml I agree this is not necessary, but it adds consistency. --- roles/speedtest-tracker/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/speedtest-tracker/tasks/main.yml b/roles/speedtest-tracker/tasks/main.yml index 5275edff..d1d16a3f 100644 --- a/roles/speedtest-tracker/tasks/main.yml +++ b/roles/speedtest-tracker/tasks/main.yml @@ -6,6 +6,12 @@ with_items: - "{{ speedtest_data_directory }}/config" +- name: Remove old Speedtest-Tracker Docker Container + docker_container: + name: speedtest_tracker + state: absent + when: speedtest_tracker_enabled = true + - name: Speedtest-Tracker Docker Container docker_container: name: speedtest-tracker From 530ea7057953e0a3e5d4b094629e2546078ed46c Mon Sep 17 00:00:00 2001 From: bcurran3 Date: Thu, 18 Aug 2022 10:17:29 -0700 Subject: [PATCH 3/5] Update main.yml --- roles/speedtest-tracker/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/speedtest-tracker/tasks/main.yml b/roles/speedtest-tracker/tasks/main.yml index d1d16a3f..5e1e761d 100644 --- a/roles/speedtest-tracker/tasks/main.yml +++ b/roles/speedtest-tracker/tasks/main.yml @@ -10,7 +10,7 @@ docker_container: name: speedtest_tracker state: absent - when: speedtest_tracker_enabled = true + when: speedtest_tracker_enabled == true - name: Speedtest-Tracker Docker Container docker_container: From 5aa73bde407b1e44e3076ac874345e3356f2adfb Mon Sep 17 00:00:00 2001 From: bcurran3 Date: Sat, 20 Aug 2022 12:05:55 -0700 Subject: [PATCH 4/5] Update main.yml --- roles/speedtest-tracker/tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/speedtest-tracker/tasks/main.yml b/roles/speedtest-tracker/tasks/main.yml index 5e1e761d..974ed61a 100644 --- a/roles/speedtest-tracker/tasks/main.yml +++ b/roles/speedtest-tracker/tasks/main.yml @@ -10,8 +10,7 @@ docker_container: name: speedtest_tracker state: absent - when: speedtest_tracker_enabled == true - + - name: Speedtest-Tracker Docker Container docker_container: name: speedtest-tracker From a006c8af604b01947e71b49157c1ee651a0c890c Mon Sep 17 00:00:00 2001 From: bcurran3 Date: Sat, 20 Aug 2022 12:11:32 -0700 Subject: [PATCH 5/5] Update main.yml --- roles/speedtest-tracker/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/speedtest-tracker/tasks/main.yml b/roles/speedtest-tracker/tasks/main.yml index 974ed61a..e59920ad 100644 --- a/roles/speedtest-tracker/tasks/main.yml +++ b/roles/speedtest-tracker/tasks/main.yml @@ -10,7 +10,7 @@ docker_container: name: speedtest_tracker state: absent - + - name: Speedtest-Tracker Docker Container docker_container: name: speedtest-tracker