Fix broken deploy of placement service

Correct typo in role's playbook in order to be able to deploy
the service with customized policy file.

Change-Id: I252ffaf73dd2a649387ddacc73286b49f36dfdf2
Closes-Bug: #1948835
This commit is contained in:
Margarita Shakhova 2021-10-26 12:14:41 -04:00
parent 0ef7c6ed1c
commit 0202def4a6
2 changed files with 7 additions and 1 deletions

View File

@ -104,7 +104,7 @@
become: true become: true
template: template:
src: "{{ placement_policy_file_path }}" src: "{{ placement_policy_file_path }}"
dest: "{{ placement_config_directory }}/{{ item.key }}/{{ placement_policy_file }}" dest: "{{ node_config_directory }}/{{ item.key }}/{{ placement_policy_file }}"
mode: "0660" mode: "0660"
when: when:
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an error in placement role which prevents to deploy the placement
service when custom policy file is used.
`LP#1948835 <https://bugs.launchpad.net/kolla-ansible/+bug/1948835>`__