Remove the role path from the template src
The path of the template file under the same role can easily be omitted, and we are using this omitting in most places except those this commit is fixing. TrivialFix Change-Id: I6d1563e235151669d9d9268d69555aae15e31926
This commit is contained in:
parent
846a19035a
commit
1eeaf60497
@ -9,7 +9,7 @@
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
template:
|
||||
src: "roles/neutron/templates/neutron-openvswitch-agent.json.j2"
|
||||
src: "neutron-openvswitch-agent.json.j2"
|
||||
dest: "{{ node_config_directory }}/neutron-openvswitch-agent-fake-{{ item }}/config.json"
|
||||
with_sequence: start=1 end={{ num_nova_fake_per_node }}
|
||||
when:
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
- name: Pushing secrets xml for libvirt
|
||||
template:
|
||||
src: roles/nova/templates/secret.xml.j2
|
||||
src: "secret.xml.j2"
|
||||
dest: "{{ node_config_directory }}/nova-libvirt/secrets/{{ rbd_secret_uuid }}.xml"
|
||||
mode: "0600"
|
||||
when: inventory_hostname in groups['compute']
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
template:
|
||||
src: "roles/nova/templates/nova-compute.json.j2"
|
||||
src: "nova-compute.json.j2"
|
||||
dest: "{{ node_config_directory }}/nova-compute-fake-{{ item }}/config.json"
|
||||
with_sequence: start=1 end={{ num_nova_fake_per_node }}
|
||||
|
||||
|
@ -72,5 +72,5 @@
|
||||
|
||||
- name: Copying over libvirtd.conf
|
||||
template:
|
||||
src: "{{ role_path }}/templates/libvirtd.conf.j2"
|
||||
src: "libvirtd.conf.j2"
|
||||
dest: "{{ node_config_directory }}/nova-libvirt/libvirtd.conf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user