-
Notifications
You must be signed in to change notification settings - Fork 3
/
deploy.sh
executable file
·33 lines (29 loc) · 1.08 KB
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
source ~/stackrc
WORKBOOK_DEV=1 # workbook updated
if [[ $WORKBOOK_DEV -gt 0 ]]; then
WORKBOOK=/home/stack/tripleo-common/workbooks/ceph-ansible.yaml
if [[ ! -e $WORKBOOK ]]; then
echo "$WORKBOOK does not exist (see init.sh)"
exit 1
fi
EXISTS=$(mistral workbook-list | grep tripleo.storage.v1 | wc -l)
if [[ $EXISTS -gt 0 ]]; then
mistral workbook-update $WORKBOOK
else
mistral workbook-create $WORKBOOK
fi
fi
time openstack overcloud deploy --templates ~/templates \
--libvirt-type qemu \
-r ~/roles_data.yaml \
-e ~/templates/environments/docker.yaml \
-e ~/templates/environments/docker-ha.yaml \
-e ~/templates/environments/low-memory-usage.yaml \
-e ~/templates/environments/disable-telemetry.yaml \
-e ~/docker_registry.yaml \
-e ~/templates/environments/ceph-ansible/ceph-ansible.yaml \
-e ~/templates/environments/ceph-ansible/ceph-mds.yaml \
-e ~/tripleo-ceph-ansible/tht/overrides.yaml
# -e ~/templates/environments/disable-config-download-environment.yaml \
# --no-config-download