Setup Go with ansible for Golang programming

Intro

Are you struggling how to install Go ? Setting $GOPATH , $GOTROOT, … ?

Are you familiar with Ansible ?

Then, this article is for you.

BONUS

IF you are not familiar with Ansible, you can master Ansible in 2 hours by watching this course: https://www.udemy.com/course/ansible-hero/

Bias for action

  1. Install the role :

2. Write a playbook that imports the role :

3. Run it :

You did it !! Done ! Done ! Done

4. Validate

Reliability

We are happy to release this role with a full end-to-end tests using molecule:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abdennour Toumi

Abdennour Toumi

Software engineer, Cloud Architect, 5/5 AWS|GCP|PSM Certified, Owner of kubernetes.tn