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
(cherry picked from commit 0202def4a6)
This commit is contained in:
Margarita Shakhova 2021-10-26 12:14:41 -04:00 committed by Radosław Piliszek
parent 150e2fc986
commit 3aa42733af
2 changed files with 7 additions and 1 deletions

View File

@ -104,7 +104,7 @@
become: true
template:
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"
when:
- 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>`__