Skip to content
Snippets Groups Projects
Commit 32487f59 authored by Eesaan Atluri's avatar Eesaan Atluri Committed by Krish Moodbidri
Browse files

Avoid building base instead use base img as src img

This will save time during image build. If you need base image build it
separtely and use the new image as src for build.
parent 8a567908
No related branches found
No related tags found
No related merge requests found
...@@ -36,17 +36,6 @@ source "openstack" "image" { ...@@ -36,17 +36,6 @@ source "openstack" "image" {
build { build {
sources = ["source.openstack.image"] sources = ["source.openstack.image"]
provisioner "ansible" {
use_proxy = false
user = var.ssh_username
groups = ["base"]
playbook_file = "./ansible/base.yml"
roles_path = "./ansible/roles"
extra_arguments = [
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
]
}
provisioner "ansible" { provisioner "ansible" {
use_proxy = false use_proxy = false
user = var.ssh_username user = var.ssh_username
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment