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:
#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 |
I hereby claim:
To claim this, I am signing this object:
#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 }}" |
--- | |
#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: |
# -*- 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" |
# Description: | |
# Load random yetis from array of yetis | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |