From 1eeecd1d7316875265a8f8298e51fa0073c5d6bd Mon Sep 17 00:00:00 2001 From: Jeroen Ketelaar Date: Tue, 16 Aug 2022 00:52:02 +0200 Subject: [PATCH] Removed unnecessary go_install_clean As this is already covered in the previous or-statement --- tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0d5dc16..07464a9 100755 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,7 +13,6 @@ when: (not go_binary.stat.exists) or ((current_go_version is not defined) or (expected_go_version_output|string not in current_go_version.stdout|default('')) or go_install_clean) and - (go_install_clean) and (not go_uninstall) - name: "Include tasks for Go Get" @@ -32,4 +31,4 @@ - name: "Include tasks for shell installation" include_tasks: install-shell.yml - when: golang_shell_profile is defined \ No newline at end of file + when: golang_shell_profile is defined