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