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

@ -111,7 +111,7 @@ options:
EXAMPLES = '''
- name: Create a server
scaleway_compute:
community.general.scaleway_compute:
name: foobar
state: present
image: 89ee4018-f8c3-4dc4-a6b5-bca14f985ebe
@ -123,7 +123,7 @@ EXAMPLES = '''
- www
- name: Create a server attached to a security group
scaleway_compute:
community.general.scaleway_compute:
name: foobar
state: present
image: 89ee4018-f8c3-4dc4-a6b5-bca14f985ebe
@ -136,7 +136,7 @@ EXAMPLES = '''
- www
- name: Destroy it right after
scaleway_compute:
community.general.scaleway_compute:
name: foobar
state: absent
image: 89ee4018-f8c3-4dc4-a6b5-bca14f985ebe

View file

@ -39,7 +39,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway images facts
scaleway_image_facts:
community.general.scaleway_image_facts:
region: par1
'''

View file

@ -35,7 +35,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway images information
scaleway_image_info:
community.general.scaleway_image_info:
region: par1
register: result

View file

@ -60,14 +60,14 @@ options:
EXAMPLES = '''
- name: Create an IP
scaleway_ip:
community.general.scaleway_ip:
organization: '{{ scw_org }}'
state: present
region: par1
register: ip_creation_task
- name: Make sure IP deleted
scaleway_ip:
community.general.scaleway_ip:
id: '{{ ip_creation_task.scaleway_ip.id }}'
state: absent
region: par1

View file

@ -37,7 +37,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway ips facts
scaleway_ip_facts:
community.general.scaleway_ip_facts:
region: par1
'''

View file

@ -33,7 +33,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway ips information
scaleway_ip_info:
community.general.scaleway_ip_info:
region: par1
register: result

View file

@ -80,7 +80,7 @@ options:
EXAMPLES = '''
- name: Create a load-balancer
scaleway_lb:
community.general.scaleway_lb:
name: foobar
state: present
organization_id: 951df375-e094-4d26-97c1-ba548eeb9c42
@ -89,7 +89,7 @@ EXAMPLES = '''
- hello
- name: Delete a load-balancer
scaleway_lb:
community.general.scaleway_lb:
name: foobar
state: absent
organization_id: 951df375-e094-4d26-97c1-ba548eeb9c42

View file

@ -33,7 +33,7 @@ extends_documentation_fragment:
EXAMPLES = r'''
- name: Gather Scaleway organizations facts
scaleway_organization_facts:
community.general.scaleway_organization_facts:
'''
RETURN = r'''

View file

@ -29,7 +29,7 @@ extends_documentation_fragment:
EXAMPLES = r'''
- name: Gather Scaleway organizations information
scaleway_organization_info:
community.general.scaleway_organization_info:
register: result
- debug:

View file

@ -84,7 +84,7 @@ options:
EXAMPLES = '''
- name: Create a Security Group
scaleway_security_group:
community.general.scaleway_security_group:
state: present
region: par1
name: security_group

View file

@ -37,7 +37,7 @@ extends_documentation_fragment:
EXAMPLES = r'''
- name: Gather Scaleway security groups facts
scaleway_security_group_facts:
community.general.scaleway_security_group_facts:
region: par1
'''

View file

@ -33,7 +33,7 @@ extends_documentation_fragment:
EXAMPLES = r'''
- name: Gather Scaleway security groups information
scaleway_security_group_info:
community.general.scaleway_security_group_info:
region: par1
register: result

View file

@ -86,7 +86,7 @@ options:
EXAMPLES = '''
- name: Create a Security Group Rule
scaleway_security_group_rule:
community.general.scaleway_security_group_rule:
state: present
region: par1
protocol: TCP

View file

@ -37,7 +37,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway servers facts
scaleway_server_facts:
community.general.scaleway_server_facts:
region: par1
'''

View file

@ -33,7 +33,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway servers information
scaleway_server_info:
community.general.scaleway_server_info:
region: par1
register: result

View file

@ -37,7 +37,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway snapshots facts
scaleway_snapshot_facts:
community.general.scaleway_snapshot_facts:
region: par1
'''

View file

@ -33,7 +33,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway snapshots information
scaleway_snapshot_info:
community.general.scaleway_snapshot_info:
region: par1
register: result

View file

@ -44,17 +44,17 @@ options:
EXAMPLES = '''
- name: "Add SSH key"
scaleway_sshkey:
community.general.scaleway_sshkey:
ssh_pub_key: "ssh-rsa AAAA..."
state: "present"
- name: "Delete SSH key"
scaleway_sshkey:
community.general.scaleway_sshkey:
ssh_pub_key: "ssh-rsa AAAA..."
state: "absent"
- name: "Add SSH key with explicit token"
scaleway_sshkey:
community.general.scaleway_sshkey:
ssh_pub_key: "ssh-rsa AAAA..."
state: "present"
oauth_token: "6ecd2c9b-6f4f-44d4-a187-61a92078d08c"

View file

@ -49,7 +49,7 @@ options:
EXAMPLES = '''
- name: Update the cloud-init
scaleway_user_data:
community.general.scaleway_user_data:
server_id: '5a33b4ab-57dd-4eb6-8b0a-d95eb63492ce'
region: ams1
user_data:

View file

@ -56,7 +56,7 @@ options:
EXAMPLES = '''
- name: Create 10GB volume
scaleway_volume:
community.general.scaleway_volume:
name: my-volume
state: present
region: par1
@ -66,7 +66,7 @@ EXAMPLES = '''
register: server_creation_check_task
- name: Make sure volume deleted
scaleway_volume:
community.general.scaleway_volume:
name: my-volume
state: absent
region: par1

View file

@ -37,7 +37,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway volumes facts
scaleway_volume_facts:
community.general.scaleway_volume_facts:
region: par1
'''

View file

@ -33,7 +33,7 @@ options:
EXAMPLES = r'''
- name: Gather Scaleway volumes information
scaleway_volume_info:
community.general.scaleway_volume_info:
region: par1
register: result