1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

update scaleway zones (#1690)

This commit is contained in:
Nicolas Karolak 2021-01-28 12:51:07 +01:00 committed by GitHub
parent f955a85848
commit db656705b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 88 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- scaleway modules and inventory plugin - update regions and zones to add the new ones (https://github.com/ansible-collections/community.general/pull/1690).

View file

@ -23,6 +23,8 @@ DOCUMENTATION = '''
default: default:
- ams1 - ams1
- par1 - par1
- par2
- waw1
tags: tags:
description: Filter results on a specific tag description: Filter results on a specific tag
type: list type: list

View file

@ -169,8 +169,14 @@ SCALEWAY_LOCATION = {
'par1': {'name': 'Paris 1', 'country': 'FR', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/fr-par-1'}, 'par1': {'name': 'Paris 1', 'country': 'FR', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/fr-par-1'},
'EMEA-FR-PAR1': {'name': 'Paris 1', 'country': 'FR', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/fr-par-1'}, 'EMEA-FR-PAR1': {'name': 'Paris 1', 'country': 'FR', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/fr-par-1'},
'par2': {'name': 'Paris 2', 'country': 'FR', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/fr-par-2'},
'EMEA-FR-PAR2': {'name': 'Paris 2', 'country': 'FR', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/fr-par-2'},
'ams1': {'name': 'Amsterdam 1', 'country': 'NL', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/nl-ams-1'}, 'ams1': {'name': 'Amsterdam 1', 'country': 'NL', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/nl-ams-1'},
'EMEA-NL-EVS': {'name': 'Amsterdam 1', 'country': 'NL', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/nl-ams-1'} 'EMEA-NL-EVS': {'name': 'Amsterdam 1', 'country': 'NL', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/nl-ams-1'},
'waw1': {'name': 'Warsaw 1', 'country': 'PL', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/pl-waw-1'},
'EMEA-PL-WAW1': {'name': 'Warsaw 1', 'country': 'PL', "api_endpoint": 'https://api.scaleway.com/instance/v1/zones/pl-waw-1'},
} }
SCALEWAY_ENDPOINT = "https://api.scaleway.com" SCALEWAY_ENDPOINT = "https://api.scaleway.com"
@ -178,9 +184,12 @@ SCALEWAY_ENDPOINT = "https://api.scaleway.com"
SCALEWAY_REGIONS = [ SCALEWAY_REGIONS = [
"fr-par", "fr-par",
"nl-ams", "nl-ams",
"pl-waw",
] ]
SCALEWAY_ZONES = [ SCALEWAY_ZONES = [
"fr-par-1", "fr-par-1",
"fr-par-2",
"nl-ams-1", "nl-ams-1",
"pl-waw-1",
] ]

View file

@ -85,6 +85,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
commercial_type: commercial_type:
type: str type: str

View file

@ -44,6 +44,7 @@ options:
choices: choices:
- fr-par - fr-par
- nl-ams - nl-ams
- pl-waw
id: id:
description: description:

View file

@ -35,6 +35,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -32,6 +32,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -46,6 +46,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
id: id:
type: str type: str

View file

@ -34,6 +34,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -30,6 +30,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -59,6 +59,7 @@ options:
choices: choices:
- nl-ams - nl-ams
- fr-par - fr-par
- pl-waw
tags: tags:
type: list type: list

View file

@ -46,6 +46,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
name: name:
description: description:

View file

@ -31,6 +31,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway

View file

@ -27,6 +27,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway

View file

@ -43,6 +43,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
protocol: protocol:
type: str type: str

View file

@ -34,6 +34,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -30,6 +30,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -34,6 +34,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -30,6 +30,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -48,6 +48,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -41,6 +41,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
name: name:
type: str type: str
description: description:

View file

@ -34,6 +34,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -30,6 +30,10 @@ options:
- EMEA-NL-EVS - EMEA-NL-EVS
- par1 - par1
- EMEA-FR-PAR1 - EMEA-FR-PAR1
- par2
- EMEA-FR-PAR2
- waw1
- EMEA-PL-WAW1
''' '''
EXAMPLES = r''' EXAMPLES = r'''