Removed registry login
This commit is contained in:
@@ -52,16 +52,6 @@ variable "cloudflare_token" {
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "registry_username" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "registry_password" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
resource "random_string" "lower" {
|
||||
length = 16
|
||||
upper = false
|
||||
@@ -242,6 +232,6 @@ resource "azurerm_linux_virtual_machine" "example" {
|
||||
|
||||
# Ansible
|
||||
provisioner "local-exec" {
|
||||
command = "ansible-playbook --ssh-common-args='-o StrictHostKeyChecking=no' --extra-vars CERTBOT_EMAIL='${var.certbot_email}' --extra-vars REGISTRY_USERNAME='${var.registry_username}' --extra-vars REGISTRY_PASSWORD='${var.registry_password}' --extra-vars AZURE_KEY='${azurerm_cognitive_account.example.primary_access_key}' --extra-vars AZURE_LOCATION='${var.azure_location_ca}' --extra-vars DATABASE_URL='${azurerm_cosmosdb_account.example.connection_strings.0}' -i adminuser@'${azurerm_public_ip.example.ip_address}', ../ansible/provision.yml"
|
||||
command = "ansible-playbook --ssh-common-args='-o StrictHostKeyChecking=no' --extra-vars CERTBOT_EMAIL='${var.certbot_email}' --extra-vars AZURE_KEY='${azurerm_cognitive_account.example.primary_access_key}' --extra-vars AZURE_LOCATION='${var.azure_location_ca}' --extra-vars DATABASE_URL='${azurerm_cosmosdb_account.example.connection_strings.0}' -i adminuser@'${azurerm_public_ip.example.ip_address}', ../ansible/provision.yml"
|
||||
}
|
||||
}
|
||||
|
@@ -5,6 +5,4 @@ azure_location_ca = "germanywestcentral"
|
||||
azure_location = "westeurope"
|
||||
certbot_email = ""
|
||||
zone_id = ""
|
||||
cloudflare_token = ""
|
||||
registry_username = ""
|
||||
registry_password = ""
|
||||
cloudflare_token = ""
|
Reference in New Issue
Block a user