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
Ian Wienand 2021-11-05 09:39:29 +11:00
parent 5f1c603b3d
commit 88c984694e
1 changed files with 4 additions and 3 deletions

View File

@ -70,13 +70,14 @@
group: root
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
state: directory
path: /var/lib/refstack/db
owner: root
group: root
mode: 0755
- name: Copy hound robots.txt