1013
This commit is contained in:
@@ -664,6 +664,15 @@
|
||||
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
|
||||
delegate_to: localhost
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user