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
dd71b98d
Commit
dd71b98d
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Share tftpboot directory for ironic-conductor and pxe"
parents
6363c7eb
66f07ab5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/ironic/tasks/start.yml
+23
-19
23 additions, 19 deletions
ansible/roles/ironic/tasks/start.yml
with
23 additions
and
19 deletions
ansible/roles/ironic/tasks/start.yml
+
23
−
19
View file @
dd71b98d
---
---
-
name
:
Starting Ironic-pxe container
docker
:
tty
:
True
net
:
host
pull
:
"
{{
docker_pull_policy
}}"
restart_policy
:
"
{{
docker_restart_policy
}}"
restart_policy_retry
:
"
{{
docker_restart_policy_retry
}}"
state
:
reloaded
registry
:
"
{{
docker_registry
}}"
username
:
"
{{
docker_registry_username
}}"
password
:
"
{{
docker_registry_password
}}"
insecure_registry
:
"
{{
docker_insecure_registry
}}"
name
:
ironic-pxe
image
:
"
{{
ironic_pxe_image_full
}}"
volumes
:
-
"
{{
node_config_directory
}}/ironic-pxe/:{{
container_config_directory
}}/:ro"
-
"
/tftpboot/"
env
:
KOLLA_CONFIG_STRATEGY
:
"
{{
config_strategy
}}"
when
:
inventory_hostname in groups['ironic-pxe']
-
name
:
Starting Ironic-api container
-
name
:
Starting Ironic-api container
docker
:
docker
:
tty
:
True
tty
:
True
...
@@ -33,6 +54,8 @@
...
@@ -33,6 +54,8 @@
name
:
ironic-conductor
name
:
ironic-conductor
image
:
"
{{
ironic_conductor_image_full
}}"
image
:
"
{{
ironic_conductor_image_full
}}"
volumes
:
"
{{
node_config_directory
}}/ironic-conductor/:{{
container_config_directory
}}/:ro"
volumes
:
"
{{
node_config_directory
}}/ironic-conductor/:{{
container_config_directory
}}/:ro"
volumes_from
:
-
ironic-pxe
env
:
env
:
KOLLA_CONFIG_STRATEGY
:
"
{{
config_strategy
}}"
KOLLA_CONFIG_STRATEGY
:
"
{{
config_strategy
}}"
when
:
inventory_hostname in groups['ironic-conductor']
when
:
inventory_hostname in groups['ironic-conductor']
...
@@ -56,22 +79,3 @@
...
@@ -56,22 +79,3 @@
env
:
env
:
KOLLA_CONFIG_STRATEGY
:
"
{{
config_strategy
}}"
KOLLA_CONFIG_STRATEGY
:
"
{{
config_strategy
}}"
when
:
inventory_hostname in groups['ironic-discoverd']
when
:
inventory_hostname in groups['ironic-discoverd']
-
name
:
Starting Ironic-pxe container
docker
:
tty
:
True
net
:
host
pull
:
"
{{
docker_pull_policy
}}"
restart_policy
:
"
{{
docker_restart_policy
}}"
restart_policy_retry
:
"
{{
docker_restart_policy_retry
}}"
state
:
reloaded
registry
:
"
{{
docker_registry
}}"
username
:
"
{{
docker_registry_username
}}"
password
:
"
{{
docker_registry_password
}}"
insecure_registry
:
"
{{
docker_insecure_registry
}}"
name
:
ironic-pxe
image
:
"
{{
ironic_pxe_image_full
}}"
volumes
:
"
{{
node_config_directory
}}/ironic-pxe/:{{
container_config_directory
}}/:ro"
env
:
KOLLA_CONFIG_STRATEGY
:
"
{{
config_strategy
}}"
when
:
inventory_hostname in groups['ironic-pxe']
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