Skip to content

Commit e0dcb62

Browse files
fabienarchambaultrichm
authored andcommitted
Refactor kdump configuration file template source
1 parent 168407a commit e0dcb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
- name: Generate kdump configuration file
2828
template:
29-
src: "{{ __kdump_conf_file.split('/')[-1] }}.j2"
29+
src: "{{ __kdump_conf_file | basename }}.j2"
3030
dest: "{{ __kdump_conf_file }}"
3131
backup: true
3232
mode: "{{ __kdump_conf.stat.mode | d('0644') }}"

0 commit comments

Comments
 (0)