mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Fix Ansible documentation in part of example formatting. Part 1 (#332)
* Fix Ansible documentation in part of example formatting * Fix
This commit is contained in:
parent
983d937b7b
commit
328319b926
70 changed files with 762 additions and 705 deletions
|
@ -45,26 +45,24 @@ requirements:
|
|||
|
||||
|
||||
EXAMPLES = '''
|
||||
# Create a domain
|
||||
|
||||
- digital_ocean_domain:
|
||||
- name: Create a domain
|
||||
digital_ocean_domain:
|
||||
state: present
|
||||
name: my.digitalocean.domain
|
||||
ip: 127.0.0.1
|
||||
|
||||
# Create a droplet and a corresponding domain
|
||||
|
||||
- digital_ocean:
|
||||
# Create a droplet and corresponding domain
|
||||
- name: Create a droplet
|
||||
digital_ocean:
|
||||
state: present
|
||||
name: test_droplet
|
||||
size_id: 1gb
|
||||
region_id: sgp1
|
||||
image_id: ubuntu-14-04-x64
|
||||
|
||||
|
||||
register: test_droplet
|
||||
|
||||
- digital_ocean_domain:
|
||||
- name: Create a corresponding domain
|
||||
digital_ocean_domain:
|
||||
state: present
|
||||
name: "{{ test_droplet.droplet.name }}.my.domain"
|
||||
ip: "{{ test_droplet.droplet.ip_address }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue