X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=packer%2Ftemplates%2Frobot.pkr.hcl;fp=packer%2Ftemplates%2Frobot.pkr.hcl;h=64b6193a113a7d293b3018a46ca689828ea76912;hb=f2d1ef389aea23a3844ebb4ea6023677e523fee2;hp=0815d964d3ffae99f4534ed0e61db61b1c6dc18d;hpb=6f9a5ad3b1c8dd961a8cb1904d90ac489d7e7a9f;p=releng%2Fbuilder.git diff --git a/packer/templates/robot.pkr.hcl b/packer/templates/robot.pkr.hcl index 0815d964d..64b6193a1 100644 --- a/packer/templates/robot.pkr.hcl +++ b/packer/templates/robot.pkr.hcl @@ -148,9 +148,18 @@ build { } provisioner "ansible" { - ansible_env_vars = ["ANSIBLE_NOCOWS=1", "ANSIBLE_PIPELINING=True", "ANSIBLE_ROLES_PATH=${var.ansible_roles_path}", "ANSIBLE_CALLBACK_WHITELIST=profile_tasks", "ANSIBLE_STDOUT_CALLBACK=debug"] + ansible_env_vars = [ + "ANSIBLE_NOCOWS=1", + "ANSIBLE_PIPELINING=False", + "ANSIBLE_HOST_KEY_CHECKING=False", + "ANSIBLE_ROLES_PATH=${var.ansible_roles_path}", + "ANSIBLE_CALLBACK_WHITELIST=profile_tasks", + "ANSIBLE_STDOUT_CALLBACK=debug" + ] command = "./common-packer/ansible-playbook.sh" - extra_arguments = ["--scp-extra-args", "'-O'", "--ssh-extra-args", "-o IdentitiesOnly=yes -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa"] + extra_arguments = [ + "--ssh-extra-args", "-o IdentitiesOnly=yes -o HostKeyAlgorithms=+ssh-rsa" + ] playbook_file = "provision/robot.yaml" skip_version_check = true }