Don't set lodgeit db dir perms
The mariadb container is overriding these and we can race ansible setting them back to root and the mariadb container starting up resulting in a sad database. Change-Id: Ib88f6aec83e73baf95a660165d13839f7baeed3d
This commit is contained in:
parent
4e84d29e38
commit
d1eaa07918
@ -12,13 +12,14 @@
|
|||||||
|
|
||||||
- name: Setup mariadb container
|
- name: Setup mariadb container
|
||||||
block:
|
block:
|
||||||
|
# NOTE(clarkb) 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: Setup db directory
|
- name: Setup db directory
|
||||||
file:
|
file:
|
||||||
state: directory
|
state: directory
|
||||||
path: /var/lib/lodgeit/mariadb
|
path: /var/lib/lodgeit/mariadb
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: Set up root mariadb conf file
|
- name: Set up root mariadb conf file
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user