Skip to content

Instantly share code, notes, and snippets.

Avatar
💁‍♀️

Abby Fuller abby-fuller

💁‍♀️
View GitHub Profile
View aws_cli.yml
#configure awscli
- name: configure awscli
sudo: yes
shell: mkdir -p /home/vagrant/.aws && touch /home/vagrant/.aws/config
- name: change permissions
sudo: yes
shell: chmod -R 666 /home/vagrant/.aws/*
- name: create default config
sudo: yes
shell: echo "[default]" >> /home/vagrant/.aws/config
View keybase.md

Keybase proof

I hereby claim:

  • I am abby-fuller on github.
  • I am abby (https://keybase.io/abby) on keybase.
  • I have a public key whose fingerprint is 8670 5FAF 01DF BBAF 62B9 8516 BC37 5000 D98F A9EF

To claim this, I am signing this object:

@abby-fuller
abby-fuller / aws.yml
Last active Jul 18, 2016
authenticating with aws and ecr from vagrant
View aws.yml
#docker/ecr setup
- name: login for config
sudo: yes
shell: export AWS_CONFIG_FILE=/home/vagrant/.aws/config; ECR_LOGIN="$(aws ecr get-login --region us-east-1)"; $ECR_LOGIN;
- name: login to ecr
sudo: yes
shell: export AWS_CONFIG_FILE=/home/vagrant/.aws/config; ECR_LOGIN="$(aws ecr get-login --region us-east-1)"; echo $ECR_LOGIN | awk '{print $6}';
register: docker_pass
- set_fact:
DOCKER_PASS: "{{ docker_pass.stdout }}"
@abby-fuller
abby-fuller / provision.yml
Last active Dec 29, 2018
sample ansible provision.yml
View provision.yml
---
#ansible provisioner for vagrant. this will run initially at 'vagrant up',
#and can be rerun with 'vagrant provision'
- hosts: all
gather_facts: no
vars_files:
- ../conf/secrets.yml
tasks:
@abby-fuller
abby-fuller / Vagrantfile
Created Jul 13, 2016
airtime backend vagrant
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
MEMORY = `sysctl -n hw.memsize`.to_i / 1024 / 1024 / 2
CPUS = `sysctl -n hw.ncpu`.to_i
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if ENV['VM'] == "virtualbox"
@abby-fuller
abby-fuller / yeti.coffee
Created Dec 17, 2014
all the yetis for hubot
View yeti.coffee
# Description:
# Load random yetis from array of yetis
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands: