Make /var/lib/ironic/{,images,master_images} readable by nginx
These directories contain images that are symlinked to /httpboot and have
to be readable by the web server. We haven't had any problems with it only
because the direct deploy does not use /var/lib/ironic with HTTP images.
Change-Id: Idbcc7ed583234ba5d8fd48913146e288e1096bdf
(cherry picked from commit 57edf29478
)
This commit is contained in:
parent
15ed62728c
commit
2055f04f3f
|
@ -213,7 +213,7 @@
|
|||
state: directory
|
||||
mode: 0750
|
||||
owner: "ironic"
|
||||
group: "ironic"
|
||||
group: "{{ nginx_user }}"
|
||||
loop:
|
||||
- "/var/lib/ironic"
|
||||
- "/var/lib/ironic/master_images"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Makes ``/var/lib/ironic`` and its images subdirectories readable by nginx.
|
||||
This is required for using the images cache.
|
Loading…
Reference in New Issue