Kaynağa Gözat

added go binaries

aeth 11 ay önce
ebeveyn
işleme
1cb6d0d1f6

+ 2 - 0
files/workstations/go.txt

@@ -1 +1,3 @@
 github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
+git.aetherial.dev/aeth/kyoketsu/cmd/kyoketsu
+git.aetherial.dev/aeth/kyoketsu/cmd/kyoketsu-web

+ 8 - 2
files/workstations/packages.txt

@@ -1,11 +1,9 @@
 sway
-pavucontrol
 dhcp
 alacritty
 go
 rust
 make
-pulseaudio
 zsh
 wireguard-tools
 wayland
@@ -18,3 +16,11 @@ thunderbird
 vlc
 yay
 vscodium
+alsa-utils
+pipewire
+pipewire-audio
+pipewire-alsa
+wireplumber
+alsa-firmware
+htop
+nmap

+ 17 - 0
tasks/tasks_go_packages.yml

@@ -0,0 +1,17 @@
+---
+- name: "Install Go Packages"
+  ansible.builtin.set_fact:
+    packages: "{{ lookup('ansible.builtin.file', '{{ item }}') | trim }}"
+  with_first_found:
+    - "files/{{ machine_type }}/{{ use_case }}/go.txt"
+    - "files/{{ machine_type }}/go.txt"
+    - "files/go.txt"
+
+- name: "20: Install packages"
+  become: True
+  ansible.builtin.command: "go install {{ _go_bin }}"
+  loop: "{{ packages.splitlines() }}"
+  loop_control:
+    loop_var: "_go_bin"
+
+