Обновить ansible/deploy_all.yml

This commit is contained in:
2025-12-28 09:45:11 +00:00
parent 224695eb86
commit 7cdf691350

View File

@@ -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/*/*"]