Skip to content

Instantly share code, notes, and snippets.

View VireshDoshi's full-sized avatar
💭
working

Viresh Doshi VireshDoshi

💭
working
  • London
View GitHub Profile
@VireshDoshi
VireshDoshi / text
Created March 8, 2018 13:49
error running concourse ci on centos
runc run: exit status 1: container_linux.go:348: starting container process caused "unknown capability \"CAP_AUDIT_READ\""
@VireshDoshi
VireshDoshi / Dockerfile
Last active April 11, 2018 07:59
ansible playbook to get values from vault
FROM alpine:latest
RUN apk add --update curl python python-dev py-cffi py-pip openssl-dev build-base && rm -rf /var/cache/apk/*
RUN pip install -U pip setuptools && \
pip install ansible==2.4.3 requests termcolor packaging ansible-modules-hashivault hvac
ADD ansible.cfg /etc/ansible/ansible.cfg
ENV ANSIBLE_LOCAL_TEMP=/tmp
ENV ANSIBLE_FORCE_COLOR=true
@VireshDoshi
VireshDoshi / concourse.md
Created May 16, 2018 16:51 — forked from kevin-smets/concourse.md
Setup the Concourse binary locally on macOS and run the hello world example.

Prerequisites

Installs

Concourse

curl -Lo concourse https://github.com/concourse/concourse/releases/download/v2.5.0/concourse_darwin_amd64 && chmod +x concourse && mv concourse /usr/local/bin
@VireshDoshi
VireshDoshi / grafana.ini.tmpl
Last active June 5, 2018 12:25
grafana consul-template
##################### Grafana Configuration Example #####################
#
# Everything has defaults so you only need to uncomment things you want to
# change
# possible values : production, development
;app_mode = production
# instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty
instance_name = {{ keyOrDefault "grafana/hostname" "${HOSTNAME}" }}