forked from openstack-ansible/openstack-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (16 loc) · 674 Bytes
/
Makefile
File metadata and controls
24 lines (16 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ANSIBLE=ansible-playbook
.PHONY: standard openstack-ansible-modules vagrant-private-key-perms standard-vms openstack demo destroy
standard: openstack demo
openstack: openstack-ansible-modules vagrant-private-key-perms standard-vms
$(ANSIBLE) -i testcases/standard/ansible_hosts openstack.yaml
openstack-ansible-modules:
git submodule init
git submodule update
vagrant-private-key-perms:
chmod 600 vagrant_private_key
standard-vms:
cd testcases/standard; vagrant up
demo: openstack-ansible-modules vagrant-private-key-perms standard-vms openstack
$(ANSIBLE) -i testcases/standard/ansible_hosts demo.yaml
destroy:
cd testcases/standard; vagrant destroy --force