diff --git a/openstack/nodeimage.pkr.hcl b/openstack/nodeimage.pkr.hcl index 269f8219195169207725ea956b0db22f9264a68d..0224701785e8aa24105b4d79b99b2f260475ff73 100644 --- a/openstack/nodeimage.pkr.hcl +++ b/openstack/nodeimage.pkr.hcl @@ -29,11 +29,4 @@ build { "--extra-vars", "root_ssh_key='${var.root_ssh_key}'" ] } - provisioner "ansible" { - use_proxy = false - ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False"] - playbook_file = "../ood-packer.yaml" - roles_path = "./ansible/roles" - inventory_file = "../hosts" - } } diff --git a/openstack/variables.pkr.hcl b/openstack/variables.pkr.hcl index 5082805e08faa68325e6cd7b5ec18bb89467c623..09827195aba2322d506e5a2b57e1f16092e4738b 100644 --- a/openstack/variables.pkr.hcl +++ b/openstack/variables.pkr.hcl @@ -67,7 +67,7 @@ variable "security_groups" { variable "build_instance_name" { type = string - default = "ood" + default = "compute" description = "A name of build instance used for image build" }