2015-08-28 10:49:29 +01:00
|
|
|
---
|
2015-12-18 19:40:48 +00:00
|
|
|
- name: Ensuring config directories exist
|
|
|
|
file:
|
|
|
|
path: "{{ node_config_directory }}/{{ item }}"
|
|
|
|
state: "directory"
|
|
|
|
recurse: yes
|
|
|
|
with_items:
|
|
|
|
- "murano-api"
|
|
|
|
- "murano-engine"
|
2015-08-28 10:49:29 +01:00
|
|
|
|
2015-12-18 19:40:48 +00:00
|
|
|
- name: Copying over config.json files for services
|
2015-09-25 10:47:36 +00:00
|
|
|
template:
|
2015-12-18 19:40:48 +00:00
|
|
|
src: "{{ item }}.json.j2"
|
|
|
|
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
|
|
|
with_items:
|
|
|
|
- "murano-api"
|
|
|
|
- "murano-engine"
|
2015-09-25 10:47:36 +00:00
|
|
|
|
2015-12-18 19:40:48 +00:00
|
|
|
- name: Copying over murano.conf
|
|
|
|
merge_configs:
|
|
|
|
vars:
|
|
|
|
service_name: "{{ item }}"
|
|
|
|
sources:
|
|
|
|
- "{{ role_path }}/templates/murano.conf.j2"
|
2015-08-28 10:49:29 +01:00
|
|
|
- "/etc/kolla/config/global.conf"
|
|
|
|
- "/etc/kolla/config/database.conf"
|
|
|
|
- "/etc/kolla/config/messaging.conf"
|
2015-12-18 19:40:48 +00:00
|
|
|
- "/etc/kolla/config/murano.conf"
|
|
|
|
- "/etc/kolla/config/murano/{{ item }}.conf"
|
2016-03-17 15:30:17 +00:00
|
|
|
- "/etc/kolla/config/murano/{{ inventory_hostname }}/murano.conf"
|
2015-12-18 19:40:48 +00:00
|
|
|
dest: "{{ node_config_directory }}/{{ item }}/murano.conf"
|
|
|
|
with_items:
|
|
|
|
- "murano-api"
|
|
|
|
- "murano-engine"
|