WIP roles for easy selfhosting based on ansible
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
535 B

- name: "Download latest go from backports"
apt:
name: "golang"
state: "latest"
default_release: "bullseye-backports"
- name: "Create directory for go sources"
file:
path: "/opt/compiler/go"
state: directory
owner: compiler
group: compiler
- name: "Setup go crates from another role"
include: "packages.yml"
when: go_packages
- name: "Setup go crates from config"
include: "packages.yml"
vars:
rust_packages: "{{ packages.go|default([]) }}"
when: go_packages is not defined and packages.go