mirror of
				https://github.com/ansible-collections/community.general.git
				synced 2024-09-14 20:13:21 +02:00 
			
		
		
		
	Fixed sanity checks for cloud/scaleway/ modules (#2678)
* fixed validation-modules for plugins/modules/cloud/scaleway/scaleway_image_info.py * fixed validation-modules for plugins/modules/cloud/scaleway/scaleway_ip_info.py * fixed validation-modules for plugins/modules/cloud/scaleway/scaleway_security_group_info.py * fixed validation-modules for plugins/modules/cloud/scaleway/scaleway_server_info.py * fixed validation-modules for plugins/modules/cloud/scaleway/scaleway_snapshot_info.py * fixed validation-modules for plugins/modules/cloud/scaleway/scaleway_volume_info.py * sanity fix
This commit is contained in:
		
							parent
							
								
									bb37b67166
								
							
						
					
					
						commit
						9f344d7165
					
				
					 10 changed files with 30 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -19,9 +19,7 @@ author:
 | 
			
		|||
extends_documentation_fragment:
 | 
			
		||||
- community.general.scaleway
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
options:
 | 
			
		||||
 | 
			
		||||
  region:
 | 
			
		||||
    type: str
 | 
			
		||||
    description:
 | 
			
		||||
| 
						 | 
				
			
			@ -51,9 +49,12 @@ EXAMPLES = r'''
 | 
			
		|||
RETURN = r'''
 | 
			
		||||
---
 | 
			
		||||
scaleway_image_info:
 | 
			
		||||
  description: Response from Scaleway API
 | 
			
		||||
  description:
 | 
			
		||||
    - Response from Scaleway API.
 | 
			
		||||
    - "For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/)."
 | 
			
		||||
  returned: success
 | 
			
		||||
  type: complex
 | 
			
		||||
  type: list
 | 
			
		||||
  elements: dict
 | 
			
		||||
  sample:
 | 
			
		||||
    "scaleway_image_info": [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,9 +49,12 @@ EXAMPLES = r'''
 | 
			
		|||
RETURN = r'''
 | 
			
		||||
---
 | 
			
		||||
scaleway_ip_info:
 | 
			
		||||
  description: Response from Scaleway API
 | 
			
		||||
  description:
 | 
			
		||||
    - Response from Scaleway API.
 | 
			
		||||
    - "For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/)."
 | 
			
		||||
  returned: success
 | 
			
		||||
  type: complex
 | 
			
		||||
  type: list
 | 
			
		||||
  elements: dict
 | 
			
		||||
  sample:
 | 
			
		||||
    "scaleway_ip_info": [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,9 +49,12 @@ EXAMPLES = r'''
 | 
			
		|||
RETURN = r'''
 | 
			
		||||
---
 | 
			
		||||
scaleway_security_group_info:
 | 
			
		||||
  description: Response from Scaleway API
 | 
			
		||||
  description:
 | 
			
		||||
    - Response from Scaleway API.
 | 
			
		||||
    - "For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/)."
 | 
			
		||||
  returned: success
 | 
			
		||||
  type: complex
 | 
			
		||||
  type: list
 | 
			
		||||
  elements: dict
 | 
			
		||||
  sample:
 | 
			
		||||
    "scaleway_security_group_info": [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,9 +49,12 @@ EXAMPLES = r'''
 | 
			
		|||
RETURN = r'''
 | 
			
		||||
---
 | 
			
		||||
scaleway_server_info:
 | 
			
		||||
  description: Response from Scaleway API
 | 
			
		||||
  description:
 | 
			
		||||
    - Response from Scaleway API.
 | 
			
		||||
    - "For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/)."
 | 
			
		||||
  returned: success
 | 
			
		||||
  type: complex
 | 
			
		||||
  type: list
 | 
			
		||||
  elements: dict
 | 
			
		||||
  sample:
 | 
			
		||||
    "scaleway_server_info": [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,9 +49,12 @@ EXAMPLES = r'''
 | 
			
		|||
RETURN = r'''
 | 
			
		||||
---
 | 
			
		||||
scaleway_snapshot_info:
 | 
			
		||||
  description: Response from Scaleway API
 | 
			
		||||
  description:
 | 
			
		||||
    - Response from Scaleway API.
 | 
			
		||||
    - "For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/)."
 | 
			
		||||
  returned: success
 | 
			
		||||
  type: complex
 | 
			
		||||
  type: list
 | 
			
		||||
  elements: dict
 | 
			
		||||
  sample:
 | 
			
		||||
    "scaleway_snapshot_info": [
 | 
			
		||||
      {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,9 +49,12 @@ EXAMPLES = r'''
 | 
			
		|||
RETURN = r'''
 | 
			
		||||
---
 | 
			
		||||
scaleway_volume_info:
 | 
			
		||||
  description: Response from Scaleway API
 | 
			
		||||
  description:
 | 
			
		||||
    - Response from Scaleway API.
 | 
			
		||||
    - "For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/)."
 | 
			
		||||
  returned: success
 | 
			
		||||
  type: complex
 | 
			
		||||
  type: list
 | 
			
		||||
  elements: dict
 | 
			
		||||
  sample:
 | 
			
		||||
    "scaleway_volume_info": [
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,13 +9,7 @@ plugins/modules/cloud/rackspace/rax_files.py validate-modules:parameter-state-in
 | 
			
		|||
plugins/modules/cloud/rackspace/rax_files_objects.py use-argspec-type-path
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_mon_notification_plan.py validate-modules:parameter-list-no-elements
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_scaling_group.py use-argspec-type-path  # fix needed, expanduser() applied to dict values
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_image_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_ip_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_organization_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_security_group_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_server_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_snapshot_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_volume_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter
 | 
			
		||||
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:parameter-list-no-elements
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,13 +8,7 @@ plugins/modules/cloud/rackspace/rax_files.py validate-modules:parameter-state-in
 | 
			
		|||
plugins/modules/cloud/rackspace/rax_files_objects.py use-argspec-type-path
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_mon_notification_plan.py validate-modules:parameter-list-no-elements
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_scaling_group.py use-argspec-type-path  # fix needed, expanduser() applied to dict values
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_image_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_ip_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_organization_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_security_group_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_server_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_snapshot_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_volume_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter
 | 
			
		||||
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:parameter-list-no-elements
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,13 +8,7 @@ plugins/modules/cloud/rackspace/rax_files.py validate-modules:parameter-state-in
 | 
			
		|||
plugins/modules/cloud/rackspace/rax_files_objects.py use-argspec-type-path
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_mon_notification_plan.py validate-modules:parameter-list-no-elements
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_scaling_group.py use-argspec-type-path  # fix needed, expanduser() applied to dict values
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_image_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_ip_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_organization_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_security_group_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_server_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_snapshot_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_volume_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter
 | 
			
		||||
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:parameter-list-no-elements
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,13 +6,7 @@ plugins/modules/cloud/lxc/lxc_container.py validate-modules:use-run-command-not-
 | 
			
		|||
plugins/modules/cloud/rackspace/rax.py use-argspec-type-path
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_files_objects.py use-argspec-type-path
 | 
			
		||||
plugins/modules/cloud/rackspace/rax_scaling_group.py use-argspec-type-path  # fix needed, expanduser() applied to dict values
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_image_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_ip_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_organization_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_security_group_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_server_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_snapshot_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/scaleway/scaleway_volume_info.py validate-modules:return-syntax-error
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc
 | 
			
		||||
plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter
 | 
			
		||||
plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:parameter-type-not-in-doc
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue