mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix Ansible documentation in part of example formatting (#334)
This commit is contained in:
@@ -126,7 +126,7 @@ EXAMPLES = '''
|
||||
project_id: 53000fb2-ee46-4673-93a8-de2c2bdba33b
|
||||
|
||||
tasks:
|
||||
- name: test create volume
|
||||
- name: Create volume
|
||||
packet_volume:
|
||||
description: "{{ volname }}"
|
||||
project_id: "{{ project_id }}"
|
||||
@@ -139,7 +139,7 @@ EXAMPLES = '''
|
||||
snapshot_frequency: 1day
|
||||
register: result_create
|
||||
|
||||
- name: test delete volume
|
||||
- name: Delete volume
|
||||
packet_volume:
|
||||
id: "{{ result_create.id }}"
|
||||
project_id: "{{ project_id }}"
|
||||
|
||||
@@ -77,7 +77,7 @@ EXAMPLES = '''
|
||||
project_id: 52000fb2-ee46-4673-93a8-de2c2bdba33b
|
||||
|
||||
tasks:
|
||||
- name: test create volume
|
||||
- name: Create volume
|
||||
packet_volume:
|
||||
description: "{{ volname }}"
|
||||
project_id: "{{ project_id }}"
|
||||
@@ -89,7 +89,8 @@ EXAMPLES = '''
|
||||
snapshot_count: 10
|
||||
snapshot_frequency: 1day
|
||||
|
||||
- packet_device:
|
||||
- name: Create a device
|
||||
packet_device:
|
||||
project_id: "{{ project_id }}"
|
||||
hostnames: "{{ devname }}"
|
||||
operating_system: ubuntu_16_04
|
||||
@@ -109,7 +110,6 @@ EXAMPLES = '''
|
||||
volume: "{{ volname }}"
|
||||
device: "{{ devname }}"
|
||||
state: absent
|
||||
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
Reference in New Issue
Block a user