From 932b71fa7facb66ca75e47772976c09d71693b04 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 21 Aug 2023 10:28:13 +0200 Subject: [PATCH] upt playbook --- playbooks/sync.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/sync.yaml b/playbooks/sync.yaml index 5dfa7ef..cd9d289 100644 --- a/playbooks/sync.yaml +++ b/playbooks/sync.yaml @@ -90,14 +90,14 @@ Content-Type: "application/json" X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg=" timeout: 60 - ignore_errors: yes when: inventory_hostname in groups['nas'] - debug: msg: "{{ ruleset.stdout }}" - + when: inventory_hostname in groups['router'] + - name: Set new ruleset command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.246', '192.168.77.106') }}" when: inventory_hostname in groups['router']