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:
Eduardo Gonzalez 2017-01-04 15:14:03 +00:00
parent c5124f98df
commit d7a3cbdc67

View File

@ -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"
@ -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