Skip to content
Snippets Groups Projects

Override ansible vars using extra-vars in packer ansible provisioner

Merged Eesaan Atluri requested to merge atlurie/ohpc_packer:feat-move-ansible-var-overrides into master
Files
3
+ 6
0
@@ -44,6 +44,7 @@ build {
groups = ["headnode"]
playbook_file = "./CRI_XCBC/site-build.yaml"
extra_arguments = [
"--extra-vars", "enable_user_reg=false",
"-b"
]
}
@@ -61,6 +62,11 @@ build {
"--extra-vars", "s3_shibboleth_bucket_name=${var.s3_shibboleth_bucket_name}",
"--extra-vars", "s3_shibboleth_object_name=${var.s3_shibboleth_object_name}",
"--extra-vars", "s3_cert_object_name=${var.s3_cert_object_name}",
"--extra-vars", "ServerName=${var.ServerName}",
"--extra-vars", "trusted_url_domains=${var.trusted_url_domains}",
"--extra-vars", "enable_selinix_permissive=true",
"--extra-vars", "enable_simplesaml=true",
"--extra-vars", "openssl_cert_gen=true",
"-b",
]
}
Loading