summaryrefslogtreecommitdiff
path: root/roles/ws/base/tasks/hide-ntfs-disks.yml
blob: 7884517789576bfe6448896b0ada8c06e9442787 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: install script to hide ntfs partitions
  template:
    src: hide-ntfs-disks.sh.j2
    dest: /usr/local/bin/hide-ntfs-disks.sh
    mode: 0755

- name: install systemd unit to hide ntfs partitions
  template:
    src: hide-ntfs-disks.service.j2
    dest: /etc/systemd/system/hide-ntfs-disks.service

- name: hide ntfs partitions
  systemd:
    name: hide-ntfs-disks.service
    daemon_reload: yes
    enabled: yes
    state: started