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
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ case "$1" in
ACTION="Pulling Docker images"
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
exit 0