playbook: keep the driver store owned by pxe so download-drivers.py can push
download-drivers.py rsyncs driver packs into _shared/Out-of-box Drivers over ssh as the pxe user, but the store was created root:root so new model folders failed with Permission denied. Added a task to own the store pxe:pxe 0775 (root and the webapp still write it fine). Fixed live on 172.16.9.1 too (chown -R).
This commit is contained in:
@@ -525,6 +525,14 @@
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: "Ensure driver store is owned by pxe (download-drivers.py pushes here over ssh as the pxe user; root/webapp still write it fine)"
|
||||
file:
|
||||
path: "/srv/samba/winpeapps/_shared/Out-of-box Drivers"
|
||||
state: directory
|
||||
owner: pxe
|
||||
group: pxe
|
||||
mode: '0775'
|
||||
|
||||
- name: "Deploy BIOS check script + manifest to winpeapps/_shared/BIOS/"
|
||||
# Path matches what startnet.cmd reads at WinPE boot:
|
||||
# net use B: \\172.16.9.1\winpeapps\_shared
|
||||
|
||||
Reference in New Issue
Block a user