swift/playbooks/saio_single_node_setup/templates/rc.local.j2
Thiago da Silva ca21d71152 Add swift probe tests to gate
This patch includes some generic playbooks to configure a SAIO[0]
plus the playbook to run the probe tests.

The current SAIO playbooks have only been tests on CentOS, they
would need additional changes to run on Ubuntu.

[0] - https://docs.openstack.org/swift/latest/development_saio.html

Change-Id: Ib72c77021aeed20f2070d42cff0ea9b671a4317a
2018-03-06 06:57:53 -05: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