From cf400c3e738f9660cc76e9fad82c4654acca2583 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 19 Oct 2025 23:01:00 +0200 Subject: Refactor go role to install 1 version and remove homebrew dependency --- roles/go/meta/argument_specs.yml | 13 ++++++------- roles/go/meta/main.yml | 1 - 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'roles/go/meta') diff --git a/roles/go/meta/argument_specs.yml b/roles/go/meta/argument_specs.yml index 03ef8608..9943134f 100644 --- a/roles/go/meta/argument_specs.yml +++ b/roles/go/meta/argument_specs.yml @@ -1,11 +1,10 @@ --- argument_specs: main: - short_description: "Install Go (versions) on Linux distributions" - description: "Install Go (versions) on Linux distributions" + short_description: "Install Go on Linux distributions" + description: "Install Go on Linux distributions" options: - go_versions: - type: "list" - description: "The extra go versions to install (latest is used as version manager)" - elements: "str" - default: [] + go_version: + type: "str" + description: "Default go version to install" + default: "1.25.3" diff --git a/roles/go/meta/main.yml b/roles/go/meta/main.yml index 28741fea..7e692148 100644 --- a/roles/go/meta/main.yml +++ b/roles/go/meta/main.yml @@ -1,6 +1,5 @@ --- dependencies: - - role: "homebrew" - role: "bash" galaxy_info: author: "a14m" -- cgit v1.2.3