Scott Baker | f93a06c | 2016-07-11 17:04:49 -0700 | [diff] [blame] | 1 | CONFIG_DIR=$(shell pwd) |
| 2 | |
| 3 | everything: /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 | |
| 13 | stop: |
| 14 | ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" cord-pod-stop-playbook.yaml |
| 15 | |
| 16 | rm: stop |
| 17 | ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" cord-pod-rm-playbook.yaml |
| 18 | |
Scott Baker | 07eff32 | 2016-07-19 15:08:29 -0700 | [diff] [blame] | 19 | cleanup: rm |
| 20 | scripts/cleanup.sh |
| 21 | |
Scott Baker | f4e8998 | 2016-07-21 10:40:12 -0700 | [diff] [blame] | 22 | local_containers: /usr/bin/ansible |
Scott Baker | f93a06c | 2016-07-11 17:04:49 -0700 | [diff] [blame] | 23 | ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" local-containers-playbook.yaml |
Scott Baker | 79d9329 | 2016-07-18 17:23:53 -0700 | [diff] [blame] | 24 | |
Scott Baker | 7ddc1ea | 2016-07-20 14:06:41 -0700 | [diff] [blame] | 25 | cord-subscriber: |
| 26 | ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" test-subscriber-playbook.yaml |
| 27 | |
Scott Baker | 79d9329 | 2016-07-18 17:23:53 -0700 | [diff] [blame] | 28 | cord-monitoringservice: |
| 29 | ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" monitoring-playbook.yaml |
| 30 | |
| 31 | exampleservice: |
| 32 | ansible-playbook -i inventory/local --connection=local -e "config_dir=$(CONFIG_DIR)" exampleservice-playbook.yaml |