aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-05 11:36:10 +0000
committerGerrit Code Review <review@openstack.org>2016-01-05 11:36:10 +0000
commit900bc1ed026d839081d7cc2d40c702979ca6757e (patch)
treecdffd350f91fae858d650c8075aa6f0efa63cdf8 /tools
parent3aeec10b88bfa47d690580b1f78e88a475a858a9 (diff)
parent462e8a3b6e5c0dd8d01dec29170b1aa7ff055554 (diff)
downloadkolla-900bc1ed026d839081d7cc2d40c702979ca6757e.tar.gz
kolla-900bc1ed026d839081d7cc2d40c702979ca6757e.zip
Merge "Allow common role to pull images"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kolla-ansible9
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