From 35bc52f5b3e8b9c099d0ca38444ae69dbd719f10 Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 30 Aug 2023 10:33:37 +0200 Subject: [PATCH] upt playbook --- playbooks/sync_mailu.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/playbooks/sync_mailu.yaml b/playbooks/sync_mailu.yaml index 48636e8..ccb014f 100644 --- a/playbooks/sync_mailu.yaml +++ b/playbooks/sync_mailu.yaml @@ -18,6 +18,8 @@ - 130 - 149 - 140 + - 150 + - 132 - name: Get ruleset command: nvram get vts_rulelist @@ -41,7 +43,7 @@ when: inventory_hostname in groups['router'] args: warn: false - + - name: Stop mailu main uri: url: "http://192.168.77.106:9000/api/stacks/108/stop?endpointId=2" @@ -111,7 +113,9 @@ - 130 - 149 - 140 - + - 150 + - 132 + - name: Copy archive ansible.builtin.shell: 'scp /share/Data/dockers-{{ ansible_date_time.date }}.tar.gz admin@192.168.77.246:/tmp/' when: inventory_hostname in groups['nas']