From b742395cd46e5c1b32e181510e09fd3cb873ef45 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 18 Mar 2021 00:32:12 +0100 Subject: [PATCH] Fix comments for vim Signed-off-by: Yohann D'ANELLO --- roles/bind/templates/named.conf.local.j2 | 2 +- roles/vim/templates/vimrc.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bind/templates/named.conf.local.j2 b/roles/bind/templates/named.conf.local.j2 index 8695d2f..49ce6ed 100644 --- a/roles/bind/templates/named.conf.local.j2 +++ b/roles/bind/templates/named.conf.local.j2 @@ -1,4 +1,4 @@ -{{ ansible_header | comment('//') }} +{{ ansible_header | comment(decoration='//') }} // // Do any local configuration here diff --git a/roles/vim/templates/vimrc.j2 b/roles/vim/templates/vimrc.j2 index 924d1e2..3f68115 100644 --- a/roles/vim/templates/vimrc.j2 +++ b/roles/vim/templates/vimrc.j2 @@ -1,4 +1,4 @@ -{{ ansible_header | comment }} +{{ ansible_header | comment(decoration='"') }} if has('autocmd') filetype plugin indent on