Skip to content

Commit 0050062

Browse files
MargaritaShakhovayoctozepto
authored andcommitted
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 0202def)
1 parent 2b374c3 commit 0050062

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ansible/roles/placement/tasks/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
become: true
105105
template:
106106
src: "{{ placement_policy_file_path }}"
107-
dest: "{{ placement_config_directory }}/{{ item.key }}/{{ placement_policy_file }}"
107+
dest: "{{ node_config_directory }}/{{ item.key }}/{{ placement_policy_file }}"
108108
mode: "0660"
109109
when:
110110
- inventory_hostname in groups[item.value.group]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an error in placement role which prevents to deploy the placement
5+
service when custom policy file is used.
6+
`LP#1948835 <https://bugs.launchpad.net/kolla-ansible/+bug/1948835>`__

0 commit comments

Comments
 (0)