Fix examples formatting (#345)

This commit is contained in:
Andrew Klychkov 2020-05-16 16:07:51 +03:00 committed by GitHub
commit a7c830f49d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
148 changed files with 330 additions and 334 deletions

View file

@ -43,7 +43,7 @@ notes:
EXAMPLES = '''
- name: create a certificate
- name: Create a certificate
digital_ocean_certificate:
name: production
state: present
@ -51,7 +51,7 @@ EXAMPLES = '''
leaf_certificate: "-----BEGIN CERTIFICATE-----\nMIIFDmg2Iaw==\n-----END CERTIFICATE-----"
oauth_token: b7d03a6947b217efb6f3ec3bd365652
- name: create a certificate using file lookup plugin
- name: Create a certificate using file lookup plugin
digital_ocean_certificate:
name: production
state: present
@ -59,7 +59,7 @@ EXAMPLES = '''
leaf_certificate: "{{ lookup('file', 'test.cert') }}"
oauth_token: "{{ oauth_token }}"
- name: create a certificate with trust chain
- name: Create a certificate with trust chain
digital_ocean_certificate:
name: production
state: present
@ -68,7 +68,7 @@ EXAMPLES = '''
certificate_chain: "{{ lookup('file', 'chain.cert') }}"
oauth_token: "{{ oauth_token }}"
- name: remove a certificate
- name: Remove a certificate
digital_ocean_certificate:
name: production
state: absent

View file

@ -105,7 +105,7 @@ requirements:
EXAMPLES = '''
- name: create a new droplet
- name: Create a new droplet
digital_ocean_droplet:
state: present
name: mydroplet
@ -120,7 +120,7 @@ EXAMPLES = '''
- debug:
msg: "ID is {{ my_droplet.data.droplet.id }}, IP is {{ my_droplet.data.ip_address }}"
- name: ensure a droplet is present
- name: Ensure a droplet is present
digital_ocean_droplet:
state: present
id: 123
@ -131,7 +131,7 @@ EXAMPLES = '''
image: ubuntu-16-04-x64
wait_timeout: 500
- name: ensure a droplet is present with SSH keys installed
- name: Ensure a droplet is present with SSH keys installed
digital_ocean_droplet:
state: present
id: 123

View file

@ -51,12 +51,12 @@ requirements:
EXAMPLES = '''
- name: create a tag
- name: Create a tag
digital_ocean_tag:
name: production
state: present
- name: tag a resource; creating the tag if it does not exist
- name: Tag a resource; creating the tag if it does not exist
digital_ocean_tag:
name: "{{ item }}"
resource_id: "73333005"
@ -65,7 +65,7 @@ EXAMPLES = '''
- staging
- dbserver
- name: untag a resource
- name: Untag a resource
digital_ocean_tag:
name: staging
resource_id: "73333005"
@ -73,7 +73,7 @@ EXAMPLES = '''
# Deleting a tag also untags all the resources that have previously been
# tagged with it
- name: remove a tag
- name: Remove a tag
digital_ocean_tag:
name: dbserver
state: absent