Обновить 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 become: false
tasks: 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 - name: Create terraform mirror config
copy: copy:
dest: "/tmp/.terraformrc" dest: "/tmp/.terraformrc"
content: | content: |
provider_installation { provider_installation {
network_mirror { network_mirror {
url = "https://registry.tf-mirror.ru/" url = "https://terraform-mirror.yandexcloud.net/"
} }
direct { direct {
exclude = ["registry.terraform.io/*/*"] exclude = ["registry.terraform.io/*/*"]