diff --git a/ansible/deploy_all.yml b/ansible/deploy_all.yml index 5c32161..42c63b3 100644 --- a/ansible/deploy_all.yml +++ b/ansible/deploy_all.yml @@ -6,13 +6,17 @@ become: false tasks: + - name: Test DNS resolution + shell: host terraform-mirror.yandexcloud.net || ping -c 1 8.8.8.8 + ignore_errors: true # Просто для информации в логах + - name: Create terraform mirror config copy: dest: "/tmp/.terraformrc" content: | provider_installation { network_mirror { - url = "https://registry.tf-mirror.ru/" + url = "https://terraform-mirror.yandexcloud.net/" } direct { exclude = ["registry.terraform.io/*/*"]