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
f8fe9372
Commit
f8fe9372
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Properly use groups throught Ansible"
parents
e9db9413
0007d332
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/roles/glance/tasks/start.yml
+2
-0
2 additions, 0 deletions
ansible/roles/glance/tasks/start.yml
ansible/site.yml
+10
-21
10 additions, 21 deletions
ansible/site.yml
etc/kolla/defaults.yml
+11
-0
11 additions, 0 deletions
etc/kolla/defaults.yml
with
23 additions
and
21 deletions
ansible/roles/glance/tasks/start.yml
+
2
−
0
View file @
f8fe9372
...
...
@@ -7,6 +7,7 @@
container_name
:
"
glance_registry"
container_volumes
:
-
"
{{
node_config_directory
}}/glance-registry/:/opt/kolla/glance-registry/:ro"
when
:
inventory_hostname in groups['glance-registry']
-
include
:
../../start.yml
vars
:
...
...
@@ -16,3 +17,4 @@
container_name
:
"
glance_api"
container_volumes
:
-
"
{{
node_config_directory
}}/glance-api/:/opt/kolla/glance-api/:ro"
when
:
inventory_hostname in groups['glance-api']
This diff is collapsed.
Click to expand it.
ansible/site.yml
+
10
−
21
View file @
f8fe9372
---
-
hosts
:
haproxy
roles
:
-
haproxy
tags
:
haproxy
-
{
role
:
haproxy
,
tags
:
haproxy
,
keepalived when
:
enable_haproxy | bool
}
-
hosts
:
mariadb
roles
:
-
mariadb
tags
:
mariadb
-
{
role
:
mariadb
,
tags
:
mariadb
,
when
:
enable_mariadb | bool
}
-
hosts
:
rabbitmq
roles
:
-
rabbitmq
tags
:
rabbitmq
-
{
role
:
rabbitmq
,
tags
:
rabbitmq
,
when
:
enable_rabbitmq | bool
}
-
hosts
:
keystone
roles
:
-
keystone
tags
:
keystone
-
{
role
:
keystone
,
tags
:
keystone
,
when
:
enable_keystone | bool
}
-
hosts
:
glance
-
hosts
:
[
glance
-api
,
glance-registry
]
roles
:
-
glance
tags
:
glance
-
{
role
:
glance
,
tags
:
glance
,
when
:
enable_glance | bool
}
-
hosts
:
-
nova
-
compute
-
hosts
:
[
nova-api
,
nova-conductor
,
nova-consoleauth
,
nova-novncproxy
,
nova-scheduler
,
compute
]
roles
:
-
nova
tags
:
nova
-
{
role
:
nova
,
tags
:
nova
,
when
:
enable_nova | bool
}
-
hosts
:
-
neutron
-
compute
-
hosts
:
[
neutron-server
,
neutron-agents
,
compute
]
roles
:
-
neutron
tags
:
neutron
-
{
role
:
neutron
,
tags
:
neutron
,
when
:
enable_neutron | bool
}
This diff is collapsed.
Click to expand it.
etc/kolla/defaults.yml
+
11
−
0
View file @
f8fe9372
...
...
@@ -32,3 +32,14 @@ glance_registry_port: "9191"
nova_api_port
:
"
8774"
neutron_server_port
:
"
9696"
# These roles are required for Kolla to be operation, however a savvy deployer
# could disable some of these required roles and run thier own services.
enable_glance
:
"
yes"
enable_haproxy
:
"
yes"
enable_keystone
:
"
yes"
enable_mariadb
:
"
yes"
enable_neutron
:
"
yes"
enable_nova
:
"
yes"
enable_rabbitmq
:
"
yes"
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