exam-laptop/roles/nousb/tasks/main.yml

5 lines
101 B
YAML

- name: disable mounting of usb flash drives
file:
path: /media
owner: root
mode: '700'