forked from ISU-Ansible/ansible-autofs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.yml
41 lines (37 loc) · 769 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
- hosts: localhost
remote_user: root
vars:
use_systemd_mounts: true
systemd_mounts:
Mount1:
share: //server/service$
mount: /somemountpoint
type: cifs
options:
- domain=local
- username=user
- password=pass
- uid=1001
- gid=1000
automount: true
Mount2:
share: someserver:/export
mount: /someothermountpoint
type: nfs
options:
- uid=1000
automount: false
Mount3:
share: someserver:/export
mount: /another-mountpoint
type: nfs
options:
- uid=1000
automount: false
systemd_mounts_enabled:
- Mount1
- Mount2
- Mount3
roles:
- role_under_test