file_system: nfs | file_system: nfs | ||||
opts: rw,sync | opts: rw,sync | ||||
Bind mount: | |||||
.. code-block:: yaml | |||||
linux: | |||||
storage: | |||||
enabled: true | |||||
mount: | |||||
mount_bind: | |||||
enabled: true | |||||
path: /mnt/bind/name | |||||
device: /mnt/source/bind | |||||
file_system: none | |||||
opts: bind,defaults | |||||
dump: 0 | |||||
pass_num: 1 | |||||
File swap configuration: | File swap configuration: | ||||
.. code-block:: yaml | .. code-block:: yaml |
{%- if mount.enabled %} | {%- if mount.enabled %} | ||||
{%- if not mount.file_system in ['nfs', 'nfs4', 'cifs', 'tmpfs'] %} | |||||
{%- if not mount.file_system in ['nfs', 'nfs4', 'cifs', 'tmpfs', 'none'] %} | |||||
mkfs_{{ mount.device}}: | mkfs_{{ mount.device}}: | ||||
cmd.run: | cmd.run: |