blob: 80bb48c8ab0849360702432bb0ec58ca39d0dbf6 [file] [log] [blame]
Scott Bakerf93a06c2016-07-11 17:04:49 -07001CONFIG_DIR=$(shell pwd)
2
3everything: /usr/bin/ansible
4 ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" cord-pod-playbook.yaml
5
6/usr/bin/ansible:
7 sudo apt-get update
8 sudo apt-get -y install software-properties-common curl git mosh tmux dnsutils python-netaddr
9 sudo add-apt-repository -y ppa:ansible/ansible
10 sudo apt-get update
11 sudo apt-get install -y ansible
12
13stop:
14 ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" cord-pod-stop-playbook.yaml
15
16rm: stop
17 ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" cord-pod-rm-playbook.yaml
18
19local_containers:
20 ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" local-containers-playbook.yaml