system-from-scratch/roles/golang/tasks/main.yml

16 lines
440 B
YAML
Raw Normal View History

- name: Enable debian bookworm backports
become: true
ansible.builtin.apt_repository:
repo: deb http://deb.debian.org/debian bookworm-backports main
state: present
filename: backports
- name: Install golang 1.22 from backports
become: true
ansible.builtin.apt:
name: golang-1.22
default_release: bookworm-backports
- name: Install go language server - gopls
become: true
ansible.builtin.apt:
name: gopls