Merge "Add kolla-ansible upgrade command"

This commit is contained in:
Jenkins 2016-01-13 21:23:51 +00:00 committed by Gerrit Code Review
commit 2d7dce6d26

View File

@ -87,6 +87,10 @@ case "$1" in
ACTION="Pulling Docker images" ACTION="Pulling Docker images"
CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK -e action=pull" CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK -e action=pull"
;; ;;
(upgrade)
ACTION="Upgrading OpenStack Environment"
CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK -e action=upgrade"
;;
(*) usage (*) usage
exit 0 exit 0