Skip to content
Snippets Groups Projects
Commit 8730e21c authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Remove shell provisioner setting env vars as they are already set as...

Remove shell provisioner setting env vars as they are already set as extra-vars in ansible provisioner
parent 8c9cd937
No related branches found
No related tags found
1 merge request!39Use ansible provisioner
......@@ -38,22 +38,6 @@ build {
]
}
provisioner "shell" {
environment_vars = [
"lts_access_key=${var.lts_access_key}",
"lts_secret_key=${var.lts_secret_key}",
"s3_endpoint=${var.s3_endpoint}",
"s3_shibboleth_bucket_name=${var.s3_shibboleth_bucket_name}",
"s3_shibboleth_object_name=${var.s3_shibboleth_object_name}",
"s3_cert_object_name=${var.s3_cert_object_name}"
]
inline = [
"sudo -E echo 's3_endpoint: $s3_endpoint'",
# "sudo -E ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` /CRI_XCBC/site-build.yaml -b",
# "sudo -E ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` /CRI_Cluster_Monitor/clustermon.yml -b",
]
}
provisioner "ansible" {
use_proxy = false
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