From cdab179c3ae0ec21f06ca66ec153b1bdd56c60db Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 21 Aug 2023 09:49:57 +0200 Subject: [PATCH] upt playbook --- playbooks/97_test.yml | 5 ++++- playbooks/sync.yaml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/playbooks/97_test.yml b/playbooks/97_test.yml index ae96fc7..2b58613 100644 --- a/playbooks/97_test.yml +++ b/playbooks/97_test.yml @@ -8,4 +8,7 @@ - name: Test command: nvram get vts_rulelist - when: inventory_hostname in groups['router'] \ No newline at end of file + when: inventory_hostname in groups['router'] + register: vts_ruleset + - debug: + msg: { vts_ruleset } \ No newline at end of file diff --git a/playbooks/sync.yaml b/playbooks/sync.yaml index d99320c..e6dd813 100644 --- a/playbooks/sync.yaml +++ b/playbooks/sync.yaml @@ -72,7 +72,7 @@ headers: Content-Type: "application/json" X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg=" - timeout: 60 + timeout: 60 register: result ignore_errors: yes when: inventory_hostname in groups['nas'] @@ -85,7 +85,7 @@ headers: Content-Type: "application/json" X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg=" - timeout: 60 + timeout: 60 register: result ignore_errors: yes when: inventory_hostname in groups['nas']