ansible/roles/network/files/keepalived-notify.sh

7 lines
72 B
Bash
Executable file

#!/bin/sh
set -eu
umask 022
echo "$3" > "/run/keepalived/${2}.state"