Code Monkey home page Code Monkey logo

ansible-role-goss's Introduction

Goss Ansible Role

Build Status

A simple Ansible role to install goss.

Requirements

None. The goss binary is self contained.

Install

To install directly from GitHub

- name: goss
  src: http://github.com/vantaworks/goss.git
  scm: git
  version: master

Or, if you want to install from Ansible Galaxy:

- name: goss
  src: vantaworks.goss
  version: master

Then run the following tocmmand to install.

ansible-galaxy install -p roles -r requirements.yml -f

Further information on variables and example playbooks are shown below.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

Whether or not you want to install or uninstall goss

goss_state: "present"
goss_state: "absent"

Whether or not you want to override/upgrade the version already installed.

goss_force_reinstall: True

Specify a specific version of goss to install. Recommended: Leave this blank so the newest is used.

goss_version: 0.3.13

Which URL to use as the source-of-truth for goss versions.

goss_version_url: "https://api.github.com/repos/aelsabbahy/goss/tags?per_page=300"

Where to donload the goss binary from?

goss_download_url: "https://github.com/aelsabbahy/goss/releases/download/{{ goss_version }}/goss-linux-{{ goss_arch }}"

What is the intended architecture?

goss_arch: amd64
# options include: amd64, 386, and arm

Where should goss be installed to?

goss_install_path: /usr/local/bin/goss

Dependencies

No Ansible-Python dependencies. See Requirements above for role requirements.

Example Playbooks

# Install the latest `goss` verison
- name: Example Install Play 1
  hosts: goss
  roles:
    - vantaworks.goss

# Install a specified `goss` version
- name: Example Install Play 2
  hosts: goss
  vars:
    goss_version: 0.3.13
  roles:
    - vantaworks.goss

# Uninstall `goss`
- name: Example Uninstall Play
  hosts: goss
  vars:
    goss_state: "absent"
  roles:
    - vantaworks.goss

License

BSD

ansible-role-goss's People

Watchers

 avatar  avatar

ansible-role-goss's Issues

limit exceeed

hi
how to avoid limit access, i use many time this option

API rate limit exceeded for xxxx . (But here's the good news: Authenticated requests get a higher rate limit

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.