Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
e84de1d3
Commit
e84de1d3
authored
9 years ago
by
Allen Gao
Browse files
Options
Downloads
Patches
Plain Diff
kolla-ansible: add prechecks subcommand
TrivialFix Change-Id: Ifb0ca3383cd04f5ff6baeb30ae6996d450d5c579
parent
f764ad8d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/kolla-ansible
+6
-0
6 additions, 0 deletions
tools/kolla-ansible
with
6 additions
and
0 deletions
tools/kolla-ansible
+
6
−
0
View file @
e84de1d3
...
@@ -33,6 +33,7 @@ Options:
...
@@ -33,6 +33,7 @@ Options:
--help, -h Show this usage information
--help, -h Show this usage information
Commands:
Commands:
prechecks Do pre-deployment checks for hosts
deploy Deploy and start all kolla containers
deploy Deploy and start all kolla containers
post-deploy Do post deploy on deploy node
post-deploy Do post deploy on deploy node
pull Pull all images for containers (only pulls, no runnnig container changes)
pull Pull all images for containers (only pulls, no runnnig container changes)
...
@@ -80,6 +81,11 @@ done
...
@@ -80,6 +81,11 @@ done
case
"
$1
"
in
case
"
$1
"
in
(
prechecks
)
ACTION
=
"Pre-deployment checking"
PLAYBOOK
=
"
${
BASEDIR
}
/ansible/prechecks.yml"
CMD
=
"ansible-playbook -i
$INVENTORY
-e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml
$PLAYBOOK
"
;;
(
deploy
)
(
deploy
)
ACTION
=
"Deploying Playbooks"
ACTION
=
"Deploying Playbooks"
CMD
=
"ansible-playbook -i
$INVENTORY
-e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml
$PLAYBOOK
-e action=deploy"
CMD
=
"ansible-playbook -i
$INVENTORY
-e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml
$PLAYBOOK
-e action=deploy"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment