Skip to content
Snippets Groups Projects
Commit 5bd6ba72 authored by Eesaan Atluri's avatar Eesaan Atluri Committed by Bo-Chun Chen
Browse files

Change playbook files and add groups according to new naming/design we used.

parent 7294e517
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,8 @@ build { ...@@ -19,7 +19,8 @@ build {
sources = ["source.openstack.image"] sources = ["source.openstack.image"]
provisioner "ansible" { provisioner "ansible" {
playbook_file = "./ansible/node-gpu.yml" groups = ["gpu"]
playbook_file = "./ansible/gpu.yml"
roles_path = "./ansible/roles" roles_path = "./ansible/roles"
extra_arguments = [ extra_arguments = [
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'" "--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
......
...@@ -24,7 +24,8 @@ build { ...@@ -24,7 +24,8 @@ build {
provisioner "ansible" { provisioner "ansible" {
user = var.ssh_username user = var.ssh_username
playbook_file = "./ansible/node.yml" groups = ["ood"]
playbook_file = "./ansible/ood.yml"
roles_path = "./ansible/roles" roles_path = "./ansible/roles"
extra_arguments = [ extra_arguments = [
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'" "--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
......
...@@ -24,7 +24,8 @@ build { ...@@ -24,7 +24,8 @@ build {
provisioner "ansible" { provisioner "ansible" {
user = var.ssh_username user = var.ssh_username
playbook_file = "./ansible/node.yml" groups = ["base"]
playbook_file = "./ansible/base.yml"
roles_path = "./ansible/roles" roles_path = "./ansible/roles"
extra_arguments = [ extra_arguments = [
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'" "--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
......
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