summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/jump-vm
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/jump-vm')
-rw-r--r--playbooks/roles/jump-vm/tasks/main.yaml11
-rw-r--r--playbooks/roles/jump-vm/templates/meta-data.j26
-rw-r--r--playbooks/roles/jump-vm/templates/network-config.j26
-rw-r--r--playbooks/roles/jump-vm/templates/user-data.j26
4 files changed, 22 insertions, 7 deletions
diff --git a/playbooks/roles/jump-vm/tasks/main.yaml b/playbooks/roles/jump-vm/tasks/main.yaml
index b6ed840..89e35b2 100644
--- a/playbooks/roles/jump-vm/tasks/main.yaml
+++ b/playbooks/roles/jump-vm/tasks/main.yaml
@@ -1,11 +1,8 @@
---
-##############################################################################
-# Copyright (c) Ericsson AB and others
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2021 Ericsson AB and others
+#
+# SPDX-License-Identifier: Apache-2.0
- name: get all running VMs
virt:
diff --git a/playbooks/roles/jump-vm/templates/meta-data.j2 b/playbooks/roles/jump-vm/templates/meta-data.j2
index b4cc5e8..28eea16 100644
--- a/playbooks/roles/jump-vm/templates/meta-data.j2
+++ b/playbooks/roles/jump-vm/templates/meta-data.j2
@@ -1 +1,7 @@
+{#
+SPDX-FileCopyrightText: 2021 Anuket contributors
+
+SPDX-License-Identifier: Apache-2.0
+#}
+
local-hostname: {{ jumphost.name }}
diff --git a/playbooks/roles/jump-vm/templates/network-config.j2 b/playbooks/roles/jump-vm/templates/network-config.j2
index 8587a10..a8a366c 100644
--- a/playbooks/roles/jump-vm/templates/network-config.j2
+++ b/playbooks/roles/jump-vm/templates/network-config.j2
@@ -1,3 +1,9 @@
+{#
+SPDX-FileCopyrightText: 2021 Anuket contributors
+
+SPDX-License-Identifier: Apache-2.0
+#}
+
{% if deployment_type == 'full' %}
version: 1
config:
diff --git a/playbooks/roles/jump-vm/templates/user-data.j2 b/playbooks/roles/jump-vm/templates/user-data.j2
index 2fad2e3..8b0fba5 100644
--- a/playbooks/roles/jump-vm/templates/user-data.j2
+++ b/playbooks/roles/jump-vm/templates/user-data.j2
@@ -1,3 +1,9 @@
+{#
+SPDX-FileCopyrightText: 2021 Anuket contributors
+
+SPDX-License-Identifier: Apache-2.0
+#}
+
#jinja2:lstrip_blocks: True
#cloud-config
users: