diff --git a/openstack-proxy/nodeimage.pkr.hcl b/openstack-proxy/nodeimage.pkr.hcl index ec858cba09b31c94b82bfb3a18f03834d2c40266..7dbcbbfecf855f4edea749c0c20a974f20fb2c73 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 c57d279418eb6774a3ce5185ae41ad7e1657a081..8e78a5db75195605b72bdcc0a8fc04964ef2b7ff 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" -}