From c3cc0bfce3899a3067f64ac8b1e677ea356f5be6 Mon Sep 17 00:00:00 2001 From: administrator Date: Thu, 27 Aug 2026 00:17:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20playbooks/update=5Fexclusions.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/update_exclusions.yml | 111 ++++++++++++++++++++++++++++++-- 1 file changed, 107 insertions(+), 4 deletions(-) diff --git a/playbooks/update_exclusions.yml b/playbooks/update_exclusions.yml index 96e9e3a..fcc8eba 100644 --- a/playbooks/update_exclusions.yml +++ b/playbooks/update_exclusions.yml @@ -1,15 +1,117 @@ --- -- name: Add core Russian domains to AdGuard VPN exclusions - hosts: your_nuc +- name: Update AdGuard VPN exclusions (core Russian domains) + hosts: all gather_facts: no vars: + # Telegram (можно переопределить в Extra Variables) telegram_token: "8820292312:AAECFO1AEWOJTh30zNuhyjC5C81o_qJHQcM" telegram_chat_id: "407968638" + # Список доменов domains_list: - gosuslugi.ru + - pravo.gov.ru + - regulation.gov.ru + - emias.info + - mos.ru + - mosenergosbyt.ru - vk.com - mail.ru - # ... (вставьте сюда все домены из списка выше) ... + - ok.ru + - rutube.ru + - rustore.ru + - max.ru + - yandex.ru + - yandex.by + - yandex.kz + - yandex.com.tr + - yandex.com + - ya.ru + - yastatic.net + - yandex.net + - yandexapi.com + - yandexadexchange.net + - yandexadnet.ru + - yandexadexchange.com + - yandexcloud.net + - yandexmobileads.com + - yandexmaps.com + - yandexsearch.com + - yandexsuggest.com + - yandextank.com + - yandexvideo.com + - yandexwebcache.net + - yandexxml.com + - wildberries.ru + - wb.ru + - ozon.ru + - avito.ru + - lamoda.ru + - dns-shop.ru + - detmir.ru + - vseinstrumenti.ru + - megamarket.ru + - goldapple.ru + - sberbank.ru + - sberbank.com + - online.sberbank.ru + - tbank.ru + - tinkoff.ru + - alfa-bank.ru + - vtb.ru + - gazprombank.ru + - raiffeisen.ru + - rosbank.ru + - sovcombank.ru + - yoomoney.ru + - qiwi.com + - samokat.ru + - vkusvill.ru + - lenta.com + - magnit.ru + - perekrestok.ru + - pyaterochka.ru + - chizhik.ru + - azbukavkusa.ru + - bravo32.ru + - rostiks.ru + - kinopoisk.ru + - ivi.ru + - start.ru + - wink.ru + - okko.tv + - kion.ru + - litres.ru + - rzd.ru + - tutu.ru + - aviasales.ru + - 2gis.ru + - yandexgo.ru + - citymobil.ru + - belkacar.ru + - yandex.taxi + - hh.ru + - profi.ru + - auto.ru + - cian.ru + - gismeteo.ru + - vesti.ru + - ria.ru + - tass.ru + - rbc.ru + - kommersant.ru + - lenta.ru + - gazeta.ru + - mk.ru + - kp.ru + - aif.ru + - rg.ru + - iz.ru + - life.ru + - sport-express.ru + - championat.com + - soccer.ru + - sports.ru + tasks: - name: Clear existing exclusions ansible.builtin.command: @@ -43,4 +145,5 @@ chat_id: "{{ telegram_chat_id }}" text: "✅ Список исключений обновлён. Добавлено {{ domains_list | length }} ключевых доменов." disable_web_page_preview: yes - delegate_to: localhost \ No newline at end of file + delegate_to: localhost + when: telegram_token is defined and telegram_chat_id is defined \ No newline at end of file