Обновить ansible/deploy_all.yml
This commit is contained in:
@@ -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/*/*"]
|
||||
|
||||
Reference in New Issue
Block a user