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
This commit is contained in:
parent
3aacfd3226
commit
57edf29478
@ -224,7 +224,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
Block a user