1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

Add Gitlab-CI (#3)

This commit is contained in:
Lukas Kämmerling 2020-05-06 07:44:05 +02:00 committed by GitHub
parent 363598811e
commit a2d00f8d7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 207 additions and 0 deletions

View file

@ -220,6 +220,7 @@ class AnsibleHcloudFloatingIP(Hcloud):
self.module.fail_on_missing_params(
required_params=["type"]
)
params = {
"description": self.module.params.get("description"),
"type": self.module.params.get("type"),

View file

@ -306,6 +306,7 @@ class AnsibleHcloudServer(Hcloud):
self.module.fail_on_missing_params(
required_params=["name", "server_type", "image"]
)
params = {
"name": self.module.params.get("name"),
"server_type": self.client.server_types.get_by_name(