Implementing jump VM create via ansible 82/70882/11
authorGeorg Kunz <georg.kunz@est.tech>
Mon, 24 Aug 2020 21:09:51 +0000 (23:09 +0200)
committerRihab Banday <rihab.banday@ericsson.com>
Thu, 10 Sep 2020 10:29:28 +0000 (10:29 +0000)
commitcb3895c81c6931482e688a820013f6926644221d
tree82f7aa83cb8e407b6437353686dd6177c7227e54
parent42b76853c5ba0ad53aa04ae6cab4bd1de2db7b42
Implementing jump VM create via ansible

This patch reimplements the creation of the jump VM as ansible
playbook. The advantage of this approach is a more deterministic
behavior and the ability to render configuration files using
templates based on the pdf and idf.

Moreover, this patch allows to overwrite the VENDOR variable.
This is necessary to allow deployment in different labs via
CI.

The BMRA configuration has not yet been transformed to ansible
template and needs to follow in subsequent patches.

Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I2cde41dcecec7480bddf71ed864f06244a89f1f3
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70882
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Victor Morales <chipahuac@hotmail.com>
18 files changed:
.gitignore
bindep.txt [new file with mode: 0644]
deploy.env
deploy.sh
functions.sh
hw_config/ericsson-pod1/pdf.yaml
hw_config/intel/idf.yaml
inventory/.keep [new file with mode: 0644]
inventory/group_vars/all/global.yaml [new file with mode: 0644]
inventory/localhost.ini [new file with mode: 0644]
playbooks/bootstrap.yaml [new file with mode: 0644]
playbooks/jump-vm.yaml [new file with mode: 0644]
playbooks/roles/bootstrap/tasks/main.yaml [new file with mode: 0644]
playbooks/roles/jump-vm/tasks/main.yaml [new file with mode: 0644]
playbooks/roles/jump-vm/templates/meta-data.j2 [new file with mode: 0644]
playbooks/roles/jump-vm/templates/network-config.j2 [new file with mode: 0644]
playbooks/roles/jump-vm/templates/user-data.j2 [new file with mode: 0644]
requirements.txt [new file with mode: 0644]