From a6eafaffc7f05c67fe1c57bf701671e34482995a Mon Sep 17 00:00:00 2001 From: Eesaan Atluri <atlurie@uab.edu> Date: Sat, 5 Oct 2024 01:27:38 -0500 Subject: [PATCH] refactor: Remove tags as we use playbook for proxy --- openstack-proxy/nodeimage.pkr.hcl | 2 +- openstack-proxy/variables.pkr.hcl | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/openstack-proxy/nodeimage.pkr.hcl b/openstack-proxy/nodeimage.pkr.hcl index ec858cba..7dbcbbfe 100644 --- a/openstack-proxy/nodeimage.pkr.hcl +++ b/openstack-proxy/nodeimage.pkr.hcl @@ -52,7 +52,7 @@ build { use_proxy = false user = var.ssh_username groups = ["proxy"] - ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False", "ANSIBLE_RUN_TAGS=var.ANSIBLE_RUN_TAGS"] + ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False"] playbook_file = "./CRI_XCBC/proxy.yaml" } } diff --git a/openstack-proxy/variables.pkr.hcl b/openstack-proxy/variables.pkr.hcl index c57d2794..8e78a5db 100644 --- a/openstack-proxy/variables.pkr.hcl +++ b/openstack-proxy/variables.pkr.hcl @@ -94,8 +94,3 @@ variable "volume_size" { description = "The default volume size for building iamge" } -variable "ANSIBLE_RUN_TAGS" { - type = list(string) - default = ["sshpiper"] - description = "Run selective roles based on the tags" -} -- GitLab