swift/tools/playbooks/saio_single_node_setup/templates/rc.local.j2
John Dickinson 0edfb879a7 reorganized existing ansible playbooks
Change-Id: Ib08c2c4c685eb30a4c804ece0b667575c04d2ca0
2018-06-25 13:47:45 -07:00

9 lines
260 B
Django/Jinja

#!/bin/bash
mkdir -p /var/cache/swift /var/cache/swift2 /var/cache/swift3 /var/cache/swift4
chown {{ ansible_user_id }}:{{ ansible_user_gid }} /var/cache/swift*
mkdir -p /var/run/swift
chown {{ ansible_user_id }}:{{ ansible_user_gid }} /var/run/swift
exit 0