modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -160,27 +160,27 @@ partition_info:
EXAMPLES = r'''
- name: Create a new ext4 primary partition
parted:
community.general.parted:
device: /dev/sdb
number: 1
state: present
fs_type: ext4
- name: Remove partition number 1
parted:
community.general.parted:
device: /dev/sdb
number: 1
state: absent
- name: Create a new primary partition with a size of 1GiB
parted:
community.general.parted:
device: /dev/sdb
number: 1
state: present
part_end: 1GiB
- name: Create a new primary partition for LVM
parted:
community.general.parted:
device: /dev/sdb
number: 2
flags: [ lvm ]
@ -188,7 +188,7 @@ EXAMPLES = r'''
part_start: 1GiB
- name: Create a new primary partition with a size of 1GiB at disk's end
parted:
community.general.parted:
device: /dev/sdb
number: 3
state: present
@ -197,11 +197,11 @@ EXAMPLES = r'''
# Example on how to read info and reuse it in subsequent task
- name: Read device information (always use unit when probing)
parted: device=/dev/sdb unit=MiB
community.general.parted: device=/dev/sdb unit=MiB
register: sdb_info
- name: Remove all partitions from disk
parted:
community.general.parted:
device: /dev/sdb
number: '{{ item.num }}'
state: absent