Ansible Module filesystem: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * https://docs.ansible.com/ansible/latest/modules/filesystem_module.html =Internal= * Ansible Concepts") |
|||
(2 intermediate revisions 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= | |||
<syntaxhighlight lang='yaml'> | |||
- name: format ESB block storage device | |||
filesystem: | |||
fstype: xfs | |||
dev: /dev/xvdb | |||
force: no | |||
</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