Fix code style in start_compute.yml
Add space in jinja definition and specify nova-compute in set volume fact task name. TrivialFix Change-Id: I94a3bb2415f1f8d60c646b488be4acc09c489a0a
This commit is contained in:
parent
c5124f98df
commit
d7a3cbdc67
@ -30,7 +30,7 @@
|
||||
until: start_nova_libvirt_container|success
|
||||
when: inventory_hostname in groups['compute']
|
||||
|
||||
- name: Prepare volumes list
|
||||
- name: Prepare nova-compute volumes list
|
||||
set_fact:
|
||||
nova_compute_volumes:
|
||||
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
|
||||
@ -42,7 +42,7 @@
|
||||
- "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"
|
||||
- "libvirtd:/var/lib/libvirt"
|
||||
- "nova_compute:/var/lib/nova/"
|
||||
- "{% if enable_cinder_backend_nfs | bool %}/var/lib/nova/mnt:/var/lib/nova/mnt:shared{% endif %}"
|
||||
- "{% if enable_cinder_backend_nfs | bool %}/var/lib/nova/mnt:/var/lib/nova/mnt:shared{% endif %}"
|
||||
|
||||
- name: Starting nova-compute container
|
||||
kolla_docker:
|
||||
@ -51,7 +51,7 @@
|
||||
image: "{{ nova_compute_image_full }}"
|
||||
name: "nova_compute"
|
||||
privileged: True
|
||||
volumes: '{{ nova_compute_volumes | reject("equalto", "") | list}}'
|
||||
volumes: '{{ nova_compute_volumes | reject("equalto", "") | list }}'
|
||||
when:
|
||||
- not enable_nova_fake | bool
|
||||
- not enable_ironic | bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user