mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -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
|
||||
'''
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue