Masakari: Fix incorrect reference to dictionary key.

Closes-Bug: #2054867
Change-Id: I1fdcaacd4f3bee2c5a4d4e6f3b643e46793a1313
This commit is contained in:
Mina ShahsavanPour 2024-04-13 10:21:59 +03:30
parent 345759c03d
commit d45660bbc2
2 changed files with 6 additions and 1 deletions

View File

@ -34,7 +34,7 @@
- name: Copying over existing policy file - name: Copying over existing policy file
template: template:
src: "{{ masakari_policy_file_path }}" src: "{{ masakari_policy_file_path }}"
dest: "{{ node_config_directory }}/{{ item }}/{{ masakari_policy_file }}" dest: "{{ node_config_directory }}/{{ item.key }}/{{ masakari_policy_file }}"
mode: "0660" mode: "0660"
become: true become: true
when: when:

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes the incorrect dictionary key reference in 'Copy Policy File' task.
`LP#2054867 <https://bugs.launchpad.net/kolla-ansible/+bug/2054867>`__