Ansible Module filesystem: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
* [[Ansible_Concepts#filesystem|Ansible Concepts]] | * [[Ansible_Concepts#filesystem|Ansible Concepts]] | ||
=Overview= | |||
Idempotenly make a filesystem on the specified device. | |||
=Example= | =Example= | ||
Line 14: | Line 18: | ||
fstype: xfs | fstype: xfs | ||
dev: /dev/xvdb | dev: /dev/xvdb | ||
force: no | |||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 06:34, 12 December 2019
External
Internal
Overview
Idempotenly make a filesystem on the specified device.
Example
- name: format ESB block storage device
filesystem:
fstype: xfs
dev: /dev/xvdb
force: no