Fix jinja2 rendering issue 25/72825/2
authorRihab Banday <rihab.banday@ericsson.com>
Thu, 12 Aug 2021 13:42:13 +0000 (15:42 +0200)
committerRihab Banday <rihab.banday@ericsson.com>
Thu, 12 Aug 2021 19:38:07 +0000 (19:38 +0000)
This patch changes the order of the lines to fix
the jinja2 rendering issue caused by the introduction
of license headers.

Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
Change-Id: I216c40669a71f5ff233ba8e154c535fdc45ec76c
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72825
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
playbooks/roles/jump-vm/templates/user-data.j2

index 8b0fba5..a23aac6 100644 (file)
@@ -1,11 +1,11 @@
+#jinja2:lstrip_blocks: True
+#cloud-config
 {#
 SPDX-FileCopyrightText: 2021 Anuket contributors
 
 SPDX-License-Identifier: Apache-2.0
 #}
 
-#jinja2:lstrip_blocks: True
-#cloud-config
 users:
   - name: {{ lookup('env', 'USERNAME') }}
     ssh-authorized-keys: