summaryrefslogtreecommitdiffstats
path: root/roles/go/meta
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-02 18:52:42 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-02 18:52:42 +0200
commite1d3cc942662a132d8a86d3211857ab5e92d296e (patch)
treeee462edd2b3ff911275d5bcbd4a9b00285c889ac /roles/go/meta
parent9c775d0d9ceb52b74d44decfb8757b7750969750 (diff)
Initial go role draft implementation
Diffstat (limited to 'roles/go/meta')
-rw-r--r--roles/go/meta/argument_specs.yml12
-rw-r--r--roles/go/meta/main.yml19
2 files changed, 31 insertions, 0 deletions
diff --git a/roles/go/meta/argument_specs.yml b/roles/go/meta/argument_specs.yml
new file mode 100644
index 00000000..4f8cebe7
--- /dev/null
+++ b/roles/go/meta/argument_specs.yml
@@ -0,0 +1,12 @@
+---
+argument_specs:
+ main:
+ options:
+ go_global_version:
+ type: "str"
+ description: "The go global version to use"
+ go_versions:
+ type: "list"
+ description: "The go versions to install"
+ elements: "str"
+ default: []
diff --git a/roles/go/meta/main.yml b/roles/go/meta/main.yml
new file mode 100644
index 00000000..17484257
--- /dev/null
+++ b/roles/go/meta/main.yml
@@ -0,0 +1,19 @@
+---
+dependencies:
+ - role: "homebrew"
+galaxy_info:
+ author: "a14m"
+ description: "Install Go (versions) on Linux distributions"
+ company: "kartoffeln.work GmbH."
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
+ - name: "Ubuntu"
+ versions:
+ - "noble"
+ - name: "Debian"
+ versions:
+ - "bookworm"