Skip to content
Snippets Groups Projects
Commit 67a2fa9a authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

added playbook file base.yml in compute node build

parent 6631de31
No related branches found
No related tags found
1 merge request!1Feat add compute
Pipeline #12436 passed with stage
in 2 hours, 12 minutes, and 27 seconds
...@@ -36,6 +36,17 @@ source "openstack" "image" { ...@@ -36,6 +36,17 @@ 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