
Note, this is not in the inventories/site.yml as it will be a transparent dependency of Swift. Change-Id: Ic8c80072596594e646ece74ac0ce74c7000398ff Partitially-Implements: blueprint ansible-swift
11 lines
210 B
Bash
11 lines
210 B
Bash
#!/bin/bash
|
|
SOURCE="/opt/kolla/memcached/memcached.conf"
|
|
TARGET="/etc/memcached.conf"
|
|
OWNER="memcached"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|