--- - include: ../../config.yml vars: service_name: "cinder-api" config_source: - "roles/{{ project_name }}/templates/cinder.conf.j2" - "/etc/kolla/config/global.conf" - "/etc/kolla/config/database.conf" - "/etc/kolla/config/messaging.conf" - "/etc/kolla/config/{{ project_name }}.conf" - "/etc/kolla/config/{{ project_name }}/{{ service_name }}.conf" config_template_dest: - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_minimal" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_global" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_database" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_messaging" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_augment" - "{{ node_templates_directory }}/{{ service_name }}/{{ service_name }}.conf_augment" config_dest: "{{ node_config_directory }}/{{ service_name }}/cinder.conf" when: inventory_hostname in groups['cinder-api'] - include: ../../config.yml vars: service_name: "cinder-backup" config_source: - "roles/{{ project_name }}/templates/cinder.conf.j2" - "/etc/kolla/config/global.conf" - "/etc/kolla/config/database.conf" - "/etc/kolla/config/messaging.conf" - "/etc/kolla/config/{{ project_name }}.conf" - "/etc/kolla/config/{{ project_name }}/{{ service_name }}.conf" config_template_dest: - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_minimal" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_global" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_database" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_messaging" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_augment" - "{{ node_templates_directory }}/{{ service_name }}/{{ service_name }}.conf_augment" config_dest: "{{ node_config_directory }}/{{ service_name }}/cinder.conf" when: inventory_hostname in groups['cinder-backup'] - include: ../../config.yml vars: service_name: "cinder-scheduler" config_source: - "roles/{{ project_name }}/templates/cinder.conf.j2" - "/etc/kolla/config/global.conf" - "/etc/kolla/config/database.conf" - "/etc/kolla/config/messaging.conf" - "/etc/kolla/config/{{ project_name }}.conf" - "/etc/kolla/config/{{ project_name }}/{{ service_name }}.conf" config_template_dest: - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_minimal" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_global" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_database" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_messaging" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_augment" - "{{ node_templates_directory }}/{{ service_name }}/{{ service_name }}.conf_augment" config_dest: "{{ node_config_directory }}/{{ service_name }}/cinder.conf" when: inventory_hostname in groups['cinder-scheduler'] - include: ../../config.yml vars: service_name: "cinder-volume" config_source: - "roles/{{ project_name }}/templates/cinder.conf.j2" - "/etc/kolla/config/global.conf" - "/etc/kolla/config/database.conf" - "/etc/kolla/config/messaging.conf" - "/etc/kolla/config/{{ project_name }}.conf" - "/etc/kolla/config/{{ project_name }}/{{ service_name }}.conf" config_template_dest: - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_minimal" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_global" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_database" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_messaging" - "{{ node_templates_directory }}/{{ service_name }}/{{ project_name }}.conf_augment" - "{{ node_templates_directory }}/{{ service_name }}/{{ service_name }}.conf_augment" config_dest: "{{ node_config_directory }}/{{ service_name }}/cinder.conf" when: inventory_hostname in groups['cinder-volume']