Create nova-libvirt directory before copying files

Change-Id: I92f2eac895283791b2eea6a4351a43e90fdbb5a3
Partially-Implements: blueprint replace-config-external
This commit is contained in:
Sam Yaple 2015-09-24 11:36:31 +00:00
parent 6f9709ce9c
commit 931335528f

View File

@ -149,6 +149,11 @@
src: "roles/nova/templates/nova-novncproxy.json.j2"
dest: "{{ node_config_directory }}/nova-novncproxy/config.json"
- name: Ensuring config directory exists
file:
path: "{{ node_config_directory }}/nova-libvirt"
state: "directory"
- name: Copying Nova Libvirt JSON configuration file
template:
src: "roles/nova/templates/nova-libvirt.json.j2"