Add kolla-ansible upgrade command

Change-Id: I432802fed979c9e42fb51703ce830f0fd8debc1e
Partially-Implements: blueprint upgrade-kolla
This commit is contained in:
SamYaple 2016-01-13 18:47:38 +00:00
parent 8c4a2ee781
commit a87c2a6929

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