View README.md

About Ansible

Ansible is configuration management tool and remote orchestration tool. It's kind of like Puppet, and Fabric had a baby. It can get boxes into a desired state like Puppet, but it can also run commands on a bunch of remote boxes like Fabric. It has a few difference from puppet. Namely that it pushes its configuration on demand to boxes instead of having a puppet dameon periodically check for changes and reset things. It also is configured entirely through yaml files that run tasks, instead of having a DSL for managing state.

Ansible is broken down into three major parts. Inventory, Playbooks, and Roles. I will cover these three briefly. Anyone looking for a more in-depth documentation on ansible should checkout the docs.

Inventory

An inventory is a document that describes all of the hosts you want to manage, and how they are grouped. Take a look at our master inventory to get a sense of the structure.

View index.json
{
"version": "https://jsonfeed.org/version/1",
"title": {{ .Site.Title | jsonify }},
"home_page_url": {{ .Permalink | jsonify }},
{{ with .OutputFormats.Get "json" -}}
"feed_url": {{ .Permalink | jsonify }},
{{- end }}
{{ if (.Site.Params.author) or (.Site.Params.author_url) -}}
"author": {
{{ if .Site.Params.author -}}
View 01_build.sh
#! /bin/bash -e
set -ex
if [[ -z "${BUILD_TAG}" ]]; then
echo "BUILD_TAG must be set before running this script";
fi
export WORKSPACE=$(pwd)
View gist:a24fea5fd56a8f81c361c84bd29e8411

Let me know if this sounds, right.

I work at a company that has N services. Each service has it's own deployable artifact. Each artifact creation process is unique, but the pipeline, and deployment processes are similar. As we grow we are looking to create more services. I would like to manage this complexity in a couple of ways.

  1. We use Jenkins
  2. I'd like to use Jenkinsfile's to manage the jobs
  3. The artifact process should stay unique, some shared code loaded via fileLoader.fromGit
  4. I plan on using a shared deployment job configured via params
  5. I plan on using a shared pipeline job configured via params
View context_local.py
'''
This is significantly derived from StackContext, Apache 2.0 license
'''
from tornado.stack_context import StackContextInconsistentError, _state
class ContextLocal(object):
'''
Implements a threadlocal-like mechanism that can be used to track data
across tornado asynchronous calls. This is very similar to (and based
View .gitignore
node_modules
View 5th_discipline.md
---
Title: The Fifth Discipline: The Art & Practice of The Learning Organization
Author: Peter M. Senge
---

Definitions

Discipline in this context means the pursuit of mastery.

Notes

View gist:64a44e58c92194315fbc
<form id="checklist">
<fieldset>
<h2 id="alignment"><span>Alignment</span></h2>
<p class="description">Unifying group and individual direction and goals around the singular vision of the organization.</p>
<ul class="check-list">
<li class="check-item filter-item i1 culture">
<label for="01_cm1" name="01_cm1" class="label">
View secmatics_to_json_schema.py
import json
from schematics.types.base import (BaseType, NumberType, IntType, LongType, FloatType,
DecimalType, BooleanType)
from schematics.types.compound import ModelType, ListType
__version__ = '1.0'
SCHEMATIC_TYPE_TO_JSON_TYPE = {
View README.md

This choropleth encodes # of hate groups with data from the Southern Poverty Law Center.