Merge "kolla-ansible: add prechecks subcommand"
This commit is contained in:
commit
f8761649a9
@ -33,6 +33,7 @@ Options:
|
|||||||
--help, -h Show this usage information
|
--help, -h Show this usage information
|
||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
|
prechecks Do pre-deployment checks for hosts
|
||||||
deploy Deploy and start all kolla containers
|
deploy Deploy and start all kolla containers
|
||||||
post-deploy Do post deploy on deploy node
|
post-deploy Do post deploy on deploy node
|
||||||
pull Pull all images for containers (only pulls, no runnnig container changes)
|
pull Pull all images for containers (only pulls, no runnnig container changes)
|
||||||
@ -80,6 +81,11 @@ done
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
||||||
|
(prechecks)
|
||||||
|
ACTION="Pre-deployment checking"
|
||||||
|
PLAYBOOK="${BASEDIR}/ansible/prechecks.yml"
|
||||||
|
CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK"
|
||||||
|
;;
|
||||||
(deploy)
|
(deploy)
|
||||||
ACTION="Deploying Playbooks"
|
ACTION="Deploying Playbooks"
|
||||||
CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK -e action=deploy"
|
CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK -e action=deploy"
|
||||||
|
Loading…
Reference in New Issue
Block a user