/golang

Primary LanguageMakefileMIT LicenseMIT

Golang

Master: Build Status
Develop: Build Status

This roles installs Openvpn.

ansible.cfg

This role is designed to work with merge "hash_behaviour". Make sure your ansible.cfg contains these settings

[defaults]
hash_behaviour = merge

Installation and Dependencies

To install run ansible-galaxy install sansible.golang or add this to your roles.yml.

- name: sansible.golang
  version: v1.0

and run ansible-galaxy install -p ./roles -r roles.yml

Tags

This role uses one tag: build

  • build - Installs Golang and all it's dependencies.

Examples

To install:

- name: Install and configure Golang
  hosts: "somehost"

  roles:
    - role: sansible.golang

Setup Golang workspace for a user:

- name: Install and configure Golang
  hosts: "somehost"

  roles:
    - role: sansible.golang
      golang:
        workspace_user: api_user