refstack: don't chown db directory

See I8d8ce5c62c660875d5c6eed54c686996576ec9df; mariadb containers
chown this to their internal user, we don't want to reset it.

Change-Id: If33a26438c6aa63d0ef0e02bdad6a643070be922
This commit is contained in:
Ian Wienand 2021-11-05 09:39:29 +11:00
parent 5f1c603b3d
commit 88c984694e

View File

@ -70,13 +70,14 @@
group: root group: root
mode: 0755 mode: 0755
# NOTE(ianw) This deliberately does not set owner/group/mode, as the
# mariadb container chowns this directory to be owned by a
# container-internal user and drops root privileges. We don't want to
# reset this from outside the container.
- name: Create refstack db storage area - name: Create refstack db storage area
file: file:
state: directory state: directory
path: /var/lib/refstack/db path: /var/lib/refstack/db
owner: root
group: root
mode: 0755
- name: Copy hound robots.txt - name: Copy hound robots.txt
copy: copy: