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 until: start_nova_libvirt_container|success
when: inventory_hostname in groups['compute'] when: inventory_hostname in groups['compute']
- name: Prepare volumes list - name: Prepare nova-compute volumes list
set_fact: set_fact:
nova_compute_volumes: nova_compute_volumes:
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
@ -51,7 +51,7 @@
image: "{{ nova_compute_image_full }}" image: "{{ nova_compute_image_full }}"
name: "nova_compute" name: "nova_compute"
privileged: True privileged: True
volumes: '{{ nova_compute_volumes | reject("equalto", "") | list}}' volumes: '{{ nova_compute_volumes | reject("equalto", "") | list }}'
when: when:
- not enable_nova_fake | bool - not enable_nova_fake | bool
- not enable_ironic | bool - not enable_ironic | bool