Add a Scaleway IP module (#45121)

- Add an option to enable public ip at server creation
This commit is contained in:
Rémy Léone 2018-09-24 16:14:23 +02:00 committed by ansibot
commit 6d7004f367
6 changed files with 710 additions and 0 deletions

View file

@ -116,6 +116,9 @@ class Scaleway(object):
def update(self, path, data=None, headers=None):
return self.send("UPDATE", path, data, headers)
def warn(self, x):
self.module.warn(str(x))
SCALEWAY_LOCATION = {
'par1': {'name': 'Paris 1', 'country': 'FR', "api_endpoint": 'https://cp-par1.scaleway.com'},