Code Monkey home page Code Monkey logo

ansible_golang's Introduction

Role Name

Installs go on Ubuntu (and other Linux)

Requirements

Requires Ansible 2.0 or higher.

Example playbook -

#!/usr/bin/env /usr/bin/ansible-playbook
---

- hosts: localhost
  vars:
    ansible_golang_install_glide: true
    ansible_golang_user: vagrant
    ansible_golang_group: vagrant
    ansible_golang_gopath: "$HOME/go"
  roles:
    - ansible_golang

Role Variables

  • ansible_golang_user: The user that go is installed as/for. Must be defined in your playbook

  • ansible_golang_group: The group that go is installed as/for. Must be defined in your playbook

  • ansible_golang_user_dir: $GOPATH. Must be defined in your playbook

  • ansible_golang_tar_name: The specific version you want to install from the Downloads page

  • ansible_golang_tar_checksum: Checksum for the above tar from the Download Page

  • ansible_golang_version_and_target: Basically what go version returns (e.g. go version go1.6.1 darwin/amd64)

  • ansible_golang_download_base_url: The base URL that you get the download from - probably not something you need to touch

  • ansible_golang_install_glide : Install Glide if defined

  • ansible_golang_glide_download_base_url: The base URL for Glide

  • ansible_golang_glide_sh_name: The executable that does the Glide installation

Dependencies

None.

License

BSD

Author Information

Mahesh Paolini-Subramanya : @dieswaytoofast everywhere - twitter / linkedin / github

ansible_golang's People

Contributors

dieswaytoofast avatar gornik avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.