Debian Codegraph @

lib/ansible/plugins/test/mount.yml

raw
1 DOCUMENTATION:
2 name: mount
3 author: Ansible Core
4 version_added: "2.5"
5 short_description: does the path resolve to mount point
6 description:
7 - Check if the provided path maps to a filesystem mount point on the controller (localhost).
8 aliases: [is_mount]
9 options:
10 _input:
11 description: A path.
12 type: path
13
14 EXAMPLES: |
15 vars:
16 ihopefalse: "{{ '/etc/hosts' is mount }}"
17 normallytrue: "{{ '/tmp' is mount }}"
18
19 RETURN:
20 _value:
21 description: Returns V(True) if the path corresponds to a mount point on the controller, V(False) if otherwise.
22 type: boolean