aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-09-20 18:54:29 +0000
committerGerrit Code Review <review@openstack.org>2021-09-20 18:54:29 +0000
commite06e531089a7c0f3166f55164a58c1aa3fa2de4f (patch)
treef1ef727e0899835b13e92007035cb9c4ca1c660d /tools
parent000b3474316c7d79960a0a4b5ff7a95edb21ce59 (diff)
parentd9a3758952a0689e0608543c12c712b48fed33e7 (diff)
downloadkolla-ansible-e06e531089a7c0f3166f55164a58c1aa3fa2de4f.tar.gz
kolla-ansible-e06e531089a7c0f3166f55164a58c1aa3fa2de4f.zip
Merge "Add kolla-ansible gather-facts command"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kolla-ansible6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index a6d222b7a..208be612c 100755
--- a/tools/kolla-ansible
+++ b/tools/kolla-ansible
@@ -161,6 +161,7 @@ Commands:
deploy-bifrost Deploy and start bifrost container
deploy-servers Enroll and deploy servers with bifrost
deploy-containers Only deploy and start containers (no config updates or bootstrapping)
+ gather-facts Gather Ansible facts
post-deploy Do post deploy on deploy node
pull Pull all images for containers (only pulls, no running container changes)
reconfigure Reconfigure OpenStack service
@@ -203,6 +204,7 @@ deploy
deploy-bifrost
deploy-containers
deploy-servers
+gather-facts
post-deploy
pull
reconfigure
@@ -429,6 +431,10 @@ EOF
PLAYBOOK="${BASEDIR}/ansible/bifrost.yml"
EXTRA_OPTS="$EXTRA_OPTS -e kolla_action=deploy-servers"
;;
+(gather-facts)
+ ACTION="Gathering Ansible facts"
+ PLAYBOOK="${BASEDIR}/ansible/gather-facts.yml"
+ ;;
(post-deploy)
ACTION="Post-Deploying Playbooks"
PLAYBOOK="${BASEDIR}/ansible/post-deploy.yml"