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

@ -53,38 +53,38 @@ requirements:
EXAMPLES = '''
- name: Import an image
imgadm:
community.general.imgadm:
uuid: '70e3ae72-96b6-11e6-9056-9737fd4d0764'
state: imported
- name: Delete an image
imgadm:
community.general.imgadm:
uuid: '70e3ae72-96b6-11e6-9056-9737fd4d0764'
state: deleted
- name: Update all images
imgadm:
community.general.imgadm:
uuid: '*'
state: updated
- name: Update a single image
imgadm:
community.general.imgadm:
uuid: '70e3ae72-96b6-11e6-9056-9737fd4d0764'
state: updated
- name: Add a source
imgadm:
community.general.imgadm:
source: 'https://datasets.project-fifo.net'
state: present
- name: Add a Docker source
imgadm:
community.general.imgadm:
source: 'https://docker.io'
type: docker
state: present
- name: Remove a source
imgadm:
community.general.imgadm:
source: 'https://docker.io'
state: absent
'''

View file

@ -52,14 +52,14 @@ options:
EXAMPLES = r'''
- name: Create 'storage0' on '00:1b:21:a3:f5:4d'
nictagadm:
community.general.nictagadm:
name: storage0
mac: 00:1b:21:a3:f5:4d
mtu: 9000
state: present
- name: Remove 'storage0' nic tag
nictagadm:
community.general.nictagadm:
name: storage0
state: absent
'''

View file

@ -28,16 +28,16 @@ options:
EXAMPLES = '''
- name: Return information about all installed images
smartos_image_info:
community.general.smartos_image_info:
register: result
- name: Return all private active Linux images
smartos_image_info:
community.general.smartos_image_info:
filters: "os=linux state=active public=false"
register: result
- name: Show, how many clones does every image have
smartos_image_info:
community.general.smartos_image_info:
register: result
- name: Print information

View file

@ -289,7 +289,7 @@ requirements:
EXAMPLES = '''
- name: Create SmartOS zone
vmadm:
community.general.vmadm:
brand: joyent
state: present
alias: fw_zone
@ -305,12 +305,12 @@ EXAMPLES = '''
quota: 1
- name: Delete a zone
vmadm:
community.general.vmadm:
alias: test_zone
state: deleted
- name: Stop all zones
vmadm:
community.general.vmadm:
uuid: '*'
state: stopped
'''