ab9f652113
Adds the needed ansible bits to support keepalived Closes-Bug: #1479934 Change-Id: Iace29b23a0e923b1f5dc9a4f5bc0f88afce3ae62 Partially-Implements: blueprint ansible-service
12 lines
234 B
Bash
Executable File
12 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
SOURCE="/opt/kolla/keepalived/keepalived.conf"
|
|
TARGET="/etc/keepalived/keepalived.conf"
|
|
OWNER="root"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
rm $TARGET
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|