From b7ec18418896d787202295b9850a90006c326e60 Mon Sep 17 00:00:00 2001 From: Benjamin Graillot Date: Mon, 20 Apr 2020 08:32:47 +0200 Subject: [PATCH] [quagga] Fix comments in bgpd and zebra config --- roles/quagga-ipv4/templates/quagga/bgpd.conf.j2 | 2 +- roles/quagga-ipv4/templates/quagga/zebra.conf.j2 | 2 +- roles/quagga-ipv6/templates/quagga/bgpd.conf.j2 | 2 +- roles/quagga-ipv6/templates/quagga/zebra.conf.j2 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/quagga-ipv4/templates/quagga/bgpd.conf.j2 b/roles/quagga-ipv4/templates/quagga/bgpd.conf.j2 index f3829097..d87269e3 100644 --- a/roles/quagga-ipv4/templates/quagga/bgpd.conf.j2 +++ b/roles/quagga-ipv4/templates/quagga/bgpd.conf.j2 @@ -1,4 +1,4 @@ -! {{ ansible_header | comment }} +{{ ansible_header | comment(decoration='! ') }} router bgp {{ bgp.as }} no synchronization diff --git a/roles/quagga-ipv4/templates/quagga/zebra.conf.j2 b/roles/quagga-ipv4/templates/quagga/zebra.conf.j2 index 4f3b6367..1f3a31ca 100644 --- a/roles/quagga-ipv4/templates/quagga/zebra.conf.j2 +++ b/roles/quagga-ipv4/templates/quagga/zebra.conf.j2 @@ -1,4 +1,4 @@ -! {{ ansible_header | comment }} +{{ ansible_header | comment(decoration='! ') }} hostname zebra password {{ zebra.password }} diff --git a/roles/quagga-ipv6/templates/quagga/bgpd.conf.j2 b/roles/quagga-ipv6/templates/quagga/bgpd.conf.j2 index 2fe4a763..5021cade 100644 --- a/roles/quagga-ipv6/templates/quagga/bgpd.conf.j2 +++ b/roles/quagga-ipv6/templates/quagga/bgpd.conf.j2 @@ -1,4 +1,4 @@ -! {{ ansible_header | comment }} +{{ ansible_header | comment(decoration='! ') }} router bgp {{ bgp.as }} no synchronization diff --git a/roles/quagga-ipv6/templates/quagga/zebra.conf.j2 b/roles/quagga-ipv6/templates/quagga/zebra.conf.j2 index aa63898a..1db5e12d 100644 --- a/roles/quagga-ipv6/templates/quagga/zebra.conf.j2 +++ b/roles/quagga-ipv6/templates/quagga/zebra.conf.j2 @@ -1,4 +1,4 @@ -! {{ ansible_header | comment }} +{{ ansible_header | comment(decoration='! ') }} hostname zebra password {{ zebra.password }}