From cf1c39ed8402584ebeb35864a50520a52a4ca823 Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Sun, 2 Mar 2025 10:52:28 -0700 Subject: [PATCH] always do go install - need to figure out how to fix go install --- tasks/archive/go.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tasks/archive/go.yml b/tasks/archive/go.yml index f7b53dc..9b46d61 100644 --- a/tasks/archive/go.yml +++ b/tasks/archive/go.yml @@ -1,20 +1,20 @@ # vim: set filetype=yaml.ansible : --- -- name: Check if go is already installed - ansible.builtin.stat: - path: "{{ path.go }}/VERSION" - register: stat_path_go - -- name: Check version of installed go - when: - - stat_path_go.stat.exists - ansible.builtin.set_fact: - do_go_install: "{{ not (go.vers in lookup('ansible.builtin.file', path.go ~ '/VERSION')) }}" +# - name: Check if go is already installed +# ansible.builtin.stat: +# path: "{{ path.go }}/VERSION" +# register: stat_path_go +# +# - name: Check version of installed go +# when: +# - stat_path_go.stat.exists +# ansible.builtin.set_fact: +# do_go_install: "{{ not (go.vers in lookup('ansible.builtin.file', path.go ~ '/VERSION')) }}" - name: Install/update go - when: - - (do_go_install is defined and do_go_install) or - not stat_path_go.stat.exists + # when: + # - (do_go_install is defined and do_go_install) or + # not stat_path_go.stat.exists block: - name: Download go archive register: get_url_go