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:
parent
f955a85848
commit
db656705b0
23 changed files with 88 additions and 1 deletions
2
changelogs/fragments/1690-scaleway-regions.yaml
Normal file
2
changelogs/fragments/1690-scaleway-regions.yaml
Normal 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).
|
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
]
|
]
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -44,6 +44,7 @@ options:
|
||||||
choices:
|
choices:
|
||||||
- fr-par
|
- fr-par
|
||||||
- nl-ams
|
- nl-ams
|
||||||
|
- pl-waw
|
||||||
|
|
||||||
id:
|
id:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -59,6 +59,7 @@ options:
|
||||||
choices:
|
choices:
|
||||||
- nl-ams
|
- nl-ams
|
||||||
- fr-par
|
- fr-par
|
||||||
|
- pl-waw
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
type: list
|
type: list
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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 = '''
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
Loading…
Reference in a new issue