From a9d951ec124279e0f89dae48f29ef41345262c73 Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek
Date: Tue, 30 Jun 2020 15:03:43 +0200
Subject: Make Vagrant-based environment safe defaults
Having a symlink instead of actual file allows having less changes
between upstream repository and on-premise deployment.
This patch does not affect development environment in any way.
Issue-ID: INT-1601
Change-Id: I489c7ce7084d48ba03962e44d64f56c316bcc56a
Signed-off-by: Pawel Wieczorek
---
.../infra-openstack/ansible/group_vars/all.yml | 20 +-------------------
.../ansible/group_vars/all.yml.sample | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 19 deletions(-)
mode change 100644 => 120000 deployment/noheat/infra-openstack/ansible/group_vars/all.yml
create mode 100644 deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
(limited to 'deployment/noheat/infra-openstack/ansible/group_vars')
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml
deleted file mode 100644
index 40fdabf94..000000000
--- a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml
+++ /dev/null
@@ -1,19 +0,0 @@
----
-network:
- name: &network_name "onap_ci_lab"
- cidr: "192.168.1.0/24"
-
-keypair:
- name: &keypair_name "onap_ci_lab"
-
-securitygroup:
- name: &securitygroup_name "onap_ci_lab"
- remote_ip_prefix: "172.24.4.0/24"
-
-hosts:
- - name: "operator0"
- image: "cirros-0.5.1-x86_64-disk"
- flavor: "cirros256"
- keypair: *keypair_name
- network: *network_name
- securitygroup: *securitygroup_name
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml
new file mode 120000
index 000000000..e4e1e1f50
--- /dev/null
+++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml
@@ -0,0 +1 @@
+all.yml.sample
\ No newline at end of file
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
new file mode 100644
index 000000000..40fdabf94
--- /dev/null
+++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
@@ -0,0 +1,19 @@
+---
+network:
+ name: &network_name "onap_ci_lab"
+ cidr: "192.168.1.0/24"
+
+keypair:
+ name: &keypair_name "onap_ci_lab"
+
+securitygroup:
+ name: &securitygroup_name "onap_ci_lab"
+ remote_ip_prefix: "172.24.4.0/24"
+
+hosts:
+ - name: "operator0"
+ image: "cirros-0.5.1-x86_64-disk"
+ flavor: "cirros256"
+ keypair: *keypair_name
+ network: *network_name
+ securitygroup: *securitygroup_name
--
cgit 1.2.3-korg