This commit is contained in:
2026-01-21 10:13:06 +02:00
parent 903e9a9c1b
commit cf53112009
2 changed files with 14 additions and 0 deletions

View File

@@ -663,6 +663,15 @@
register: dev1_to_dev2_copy6
changed_when: true
failed_when: dev1_to_dev2_copy6.rc != 0
- name: Make block scripts executable on DEV2
delegate_to: localhost
ansible.builtin.shell: |
export DEV2_CMD='chmod 0755 /root/startblock.sh /root/stopblock.sh'
{{ dev2_exec_cmd }}
args:
executable: /bin/bash
changed_when: true
post_tasks:
- name: Cleanup note

View File

@@ -1,3 +1,8 @@
#!/bin/sh
set -eu
/bin/sh /root/stopblock.sh >/dev/null 2>&1 || true
LAN_IF="br-lan"
LAN_NET="192.168.2.0/24"
EXCLUDE_IP="13.244.149.112/32"