Merge "Move data container to start.yml"
This commit is contained in:
commit
96667c9241
@ -28,22 +28,6 @@
|
||||
failed_when: database_user_create.stdout.split()[2] != 'SUCCESS'
|
||||
run_once: True
|
||||
|
||||
- name: Starting Glance data 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: glance_data
|
||||
image: "{{ glance_data_image_full }}"
|
||||
volumes: "/var/lib/glance/"
|
||||
|
||||
- name: Starting Glance bootstrap container
|
||||
docker:
|
||||
tty: True
|
||||
@ -59,8 +43,6 @@
|
||||
name: bootstrap_glance
|
||||
image: "{{ glance_api_image_full }}"
|
||||
volumes: "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
|
||||
volumes_from:
|
||||
- glance_data
|
||||
env:
|
||||
KOLLA_BOOTSTRAP:
|
||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||
|
@ -1,4 +1,20 @@
|
||||
---
|
||||
- name: Starting Glance data 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: glance_data
|
||||
image: "{{ glance_data_image_full }}"
|
||||
volumes: "/var/lib/glance/"
|
||||
|
||||
- name: Starting Glance-registry container
|
||||
docker:
|
||||
tty: True
|
||||
|
@ -27,24 +27,6 @@
|
||||
failed_when: database_user_create.stdout.split()[2] != 'SUCCESS'
|
||||
run_once: True
|
||||
|
||||
- name: Starting Nova data 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: nova_data
|
||||
image: "{{ nova_data_image_full }}"
|
||||
volumes:
|
||||
- "/var/lib/nova/instances"
|
||||
- "/var/lib/libvirt"
|
||||
|
||||
- name: Starting Nova bootstrap container
|
||||
docker:
|
||||
tty: True
|
||||
|
@ -1,4 +1,22 @@
|
||||
---
|
||||
- name: Starting Nova data 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: nova_data
|
||||
image: "{{ nova_data_image_full }}"
|
||||
volumes:
|
||||
- "/var/lib/nova/instances"
|
||||
- "/var/lib/libvirt"
|
||||
|
||||
- name: Starting Nova-libvirt container
|
||||
docker:
|
||||
tty: True
|
||||
|
Loading…
Reference in New Issue
Block a user