Add Blancco erasure reports Samba share and webapp viewer

- Samba share at \\server\blancco-reports for automatic report collection
- Webapp reports page with list, download, and delete
- Compliance warning on delete confirmation
- Sidebar link under Tools section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-02-06 16:27:27 -05:00
parent 89b58347d9
commit 05dbb7ed5d
4 changed files with 179 additions and 0 deletions

View File

@@ -223,6 +223,12 @@
state: directory
mode: '0777'
- name: "Create Blancco reports share directory"
file:
path: /srv/samba/blancco-reports
state: directory
mode: '0777'
- name: "Configure Samba shares"
blockinfile:
path: /etc/samba/smb.conf
@@ -241,6 +247,13 @@
guest ok = yes
comment = Clonezilla backup images
[blancco-reports]
path = /srv/samba/blancco-reports
browseable = yes
read only = no
guest ok = yes
comment = Blancco Drive Eraser reports
- name: "Create image-type top-level directories"
file:
path: "{{ samba_share }}/{{ item }}"
@@ -376,6 +389,7 @@
Environment=SAMBA_SHARE={{ samba_share }}
Environment=CLONEZILLA_SHARE=/srv/samba/clonezilla
Environment=WEB_ROOT={{ web_root }}
Environment=BLANCCO_REPORTS=/srv/samba/blancco-reports
ExecStart=/opt/pxe-webapp/venv/bin/python app.py
Restart=always
RestartSec=5