autofs home maps have a special syntax.
This commit is contained in:
parent
873d11d516
commit
105dfd8b32
|
@ -41,7 +41,7 @@ autofs_packages_el:
|
|||
|
||||
# path: without the initial /
|
||||
autofs_maps: []
|
||||
# - { map_name: 'data', mountpoint_prefix: '/', path: 'data', nfs_server: 'nfs.example.com', remote_export: '/export' }
|
||||
# - { map_name: 'data', mountpoint_prefix: '/', path: 'data', nfs_server: 'nfs.example.com', remote_export: '/export', is_home: False }
|
||||
|
||||
# tmpreaper
|
||||
tmpreaper_install: False
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
{% if item.is_home is defined and item.is_home %}
|
||||
* {{ item.nfs_server }}:{{ item.remote_export }}/&
|
||||
{% else %}
|
||||
{{ item.path }} / {{ item.nfs_server }}:{{ item.remote_export }}
|
||||
{% fi %}
|
Loading…
Reference in New Issue