From f184a05416490e3ad7a7e9c58b982c0e1b3678d7 Mon Sep 17 00:00:00 2001 From: Rihab Banday Date: Fri, 11 Sep 2020 14:49:54 +0200 Subject: Disable Ansible host key checking in BMRA container This change avoids the need to copy SSH keys to the provisioned hosts during BMRA provisioning by loading the respective env variable inside the BMRA container. Change-Id: I30cef25f65492da26435259b7f028f79c3b8cb01 Signed-off-by: Rihab Banday Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71081 Tested-by: jenkins-ci Reviewed-by: Michael Pedersen Reviewed-by: Georg Kunz --- functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'functions.sh') diff --git a/functions.sh b/functions.sh index a4753e1..e64bf91 100755 --- a/functions.sh +++ b/functions.sh @@ -174,6 +174,7 @@ cp ${PROJECT_ROOT}/${INSTALLER}/inventory.ini \ cp ${PROJECT_ROOT}/${INSTALLER}/{all.yml,kube-node.yml} \ ${PROJECT_ROOT}/container-experience-kits/group_vars/ sudo docker run --rm \ +-e ANSIBLE_CONFIG=/bmra/ansible.cfg \ -v ${PROJECT_ROOT}/container-experience-kits:/bmra \ -v ~/.ssh/:/root/.ssh/ rihabbanday/bmra-install:centos \ ansible-playbook -i /bmra/inventory.ini /bmra/playbooks/cluster.yml -- cgit 1.2.3-korg