diff options
| author | SamYaple <sam@yaple.net> | 2016-01-01 04:14:53 +0000 |
|---|---|---|
| committer | SamYaple <sam@yaple.net> | 2016-01-04 19:49:26 +0000 |
| commit | 462e8a3b6e5c0dd8d01dec29170b1aa7ff055554 (patch) | |
| tree | f5679da9792e99c989579f7e84127ead6737c1dc /tools | |
| parent | 58daa10ae30cc750e5f8f3f5e512f444d12aa5f7 (diff) | |
| download | kolla-462e8a3b6e5c0dd8d01dec29170b1aa7ff055554.tar.gz kolla-462e8a3b6e5c0dd8d01dec29170b1aa7ff055554.zip | |
Allow common role to pull images
Change-Id: I3de01770eca6b7e681b7964a6d6e15564065aaea
Partially-Implements: blueprint pre-pull-images
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/kolla-ansible | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible index d24941193..7543b8544 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -34,6 +34,7 @@ Options: Commands: deploy Deploy and start all kolla containers + pull Pull all images for containers (only pulls, no runnnig container changes) EOF } @@ -79,8 +80,12 @@ done case "$1" in (deploy) - ACTION="Deploying Playbook" - CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK" + ACTION="Deploying Playbooks" + CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK -e action=deploy" + ;; +(pull) + ACTION="Pulling Docker images" + CMD="ansible-playbook -i $INVENTORY -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml $PLAYBOOK -e action=pull" ;; (*) usage |
