summaryrefslogtreecommitdiffstats
path: root/roles/go/meta
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-10-19 23:01:00 +0200
committerAhmed Abdelhalim <[email protected]>2025-10-20 00:39:02 +0200
commitcf400c3e738f9660cc76e9fad82c4654acca2583 (patch)
treeae41e8c24a6b7604f0d3570e58cc2291449f1124 /roles/go/meta
parent54d644bab1ef9cd8663d3366b1b3c94f57f5b945 (diff)
Refactor go role to install 1 version and remove homebrew dependency
Diffstat (limited to 'roles/go/meta')
-rw-r--r--roles/go/meta/argument_specs.yml13
-rw-r--r--roles/go/meta/main.yml1
2 files changed, 6 insertions, 8 deletions
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"