refactor to standard layout
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: install/update go
|
- name: install/update go
|
||||||
when: "'{{ pkgconfig_go.version }}' not in r_go_version.stdout"
|
|
||||||
block:
|
block:
|
||||||
- name: set go arch
|
- name: set go arch
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -49,3 +48,4 @@
|
|||||||
cmd: "installer -pkg {{ d_go_dl_tmp.path }}/{{ go_archive }} -target /"
|
cmd: "installer -pkg {{ d_go_dl_tmp.path }}/{{ go_archive }} -target /"
|
||||||
when: ansible_system == 'Darwin'
|
when: ansible_system == 'Darwin'
|
||||||
become: true
|
become: true
|
||||||
|
when: "'{{ pkgconfig_go.version }}' not in r_go_version.stdout"
|
||||||
|
|||||||
Reference in New Issue
Block a user