952b53089b
The idea is to factor out a role for deploying Nova related services to cells. Since all deployments use cells, this role can be used in both regular deployments which have just cell0 and cell1, and deployments with many cells. Partially Implements: blueprint support-nova-cells Change-Id: Ib1f36ec0a773c384f2c1eac1843782a3e766045a
15 lines
456 B
YAML
15 lines
456 B
YAML
---
|
|
- name: Copying over libvirt TLS keys {{ file }}
|
|
become: true
|
|
copy:
|
|
src: "{{ first_found }}"
|
|
dest: "{{ node_config_directory }}/{{ service_name }}/{{ file }}"
|
|
mode: "0600"
|
|
with_first_found:
|
|
- "{{ node_custom_config }}/nova/nova-libvirt/{{ inventory_hostname }}/{{ file }}"
|
|
- "{{ node_custom_config }}/nova/nova-libvirt/{{ file }}"
|
|
loop_control:
|
|
loop_var: first_found
|
|
notify:
|
|
- Restart {{ service_name }} container
|