Julian Tölle
60d9cf74a6
fix(server): server still locked after placement_group attach ( #192 )
...
In some cases the server was still marked as locked after attaching it to
a placement_group. This caused potential follow up tasks that use the server
to fail.
This happened because the action returned by `add_to_placement_group()` was
not waited upon.
For the detach case this is handled correctly.
2023-02-08 10:07:46 +01:00
Sander van Rossem
9bc9949869
Increase rebuild wait_until_finished() timeout ( #189 )
2023-01-31 16:48:02 +01:00
n00b42
129d3e8ddc
feat: add private_networks_info containing name and private ip in server responses ( #183 )
...
Co-authored-by: Maximilian Senftleben <maximilian.senftleben@frogblue-tec.com>
2023-01-31 12:29:27 +01:00
Julian Tölle
2589783e19
fix(server): attached networks are removed when not defined in hcloud_server ( #175 )
...
Fixes #174
2022-12-20 14:49:48 +01:00
Konstantin Köhring
ad8958a2ad
Add possibility to specify private network when creating or updating servers ( #160 )
...
* Add possibility to specify private network when creating or updating a server
This allows creating servers without public internet access
* Add integration tests
2022-11-09 22:31:03 +01:00
Lukas Kämmerling
6de022e9fb
hcloud_firewall: Fix race condition on deletion of firewalls ( #166 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-11-08 14:05:13 +01:00
Lukas Kämmerling
123ad2c1b0
hcloud_volume & hcloud_volume_info: "None" -> null ( #165 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-11-08 10:14:24 +01:00
Lukas Kämmerling
2623b75b10
Docs: Document possibility to set the module api_token via environment variable ( #163 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-11-08 08:41:17 +01:00
Lukas Kämmerling
78f0a0a519
hcloud_server & hcloud_server_info fix backup window given out as "None" ( #162 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-11-07 14:49:19 +01:00
Konstantin Köhring
5cc7c58ecf
fix hcloud_network_info failing without internet connectivity ( #159 )
...
This fixes the behavior if there is a server without direct internet
connectivity in the examined network.
Previously, the module would throw an AttributeError because
server.public_net.ipv4/ipv6 is None in this case. Now the None propagates
correctly.
2022-11-07 13:59:21 +01:00
Lukas Kämmerling
a87c82d808
hcloud_firewall: Add support for esp and gre ( #161 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-11-07 13:58:43 +01:00
Lukas Kämmerling
6a7088cf42
- hcloud_server_info - fix crash when having servers without IPs (flexible networks) ( #143 )
...
- hcloud_server - When state stopped and server is created, do not start the server
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-07-13 08:54:55 +02:00
Lukas Kämmerling
0965f79093
Add support for Primary IPs ( #141 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2022-06-29 09:58:01 +02:00
René Moser
1d568f3ac7
loadbalancer_: improve error handlings ( #138 )
...
* loadbalancer_: improve error handlings
* streamline a bit to make ansible 2.9 pass
* handle race condition
2022-06-20 06:26:26 +02:00
René Moser
a0a5da3f46
hcloud_load_balancer_target: fix types in examples ( #136 )
2022-06-17 22:15:35 +02:00
nuux
fae1449c59
fixes alias_ips by using sorted ( #134 )
2022-06-13 08:58:32 +02:00
Florian Sesser
53fa2c1e96
Docs: fix typo ( #127 )
...
Co-authored-by: Florian Sesser <hi@flosse.works>
2022-04-25 06:28:21 +02:00
Adrian Huber
b85f221340
Add support for LB DNS PTRs ( #103 )
...
* Add support for Load Balancer DNS PTRs
* Add changelogs
2021-08-17 14:48:12 +02:00
Adrian Huber
7d3828837c
Placement groups ( #102 )
...
* Add placement_groups
* Create server with placement_group
* Add/remove server to/from placement_group
* Remove deprecated tmage test
* Add changelogs
* Add placement groups to hcloud_server_info
* Deprecate force_upgrade flag
2021-08-16 12:31:02 +02:00
Adrian Huber
8cd7b9f997
Add description field to firewall rules ( #101 )
2021-08-12 13:13:19 +02:00
Lukas Kämmerling
2be9ff3240
hcloud_rdns improve error message on not existing server/Floating IP ( #99 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2021-07-22 09:24:11 +02:00
Lukas Kämmerling
6e171f231f
hcloud_server: Change backups default to None ( #97 )
...
When the default is set to false, it always disables the backups when a user do not specify the backups to True always. This shouldn't be the case.
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2021-07-19 07:21:09 +02:00
Lukas Kämmerling
ffd998a0d6
hcloud_server: Improve Error Message when attaching a not existing firewall ( #96 )
2021-07-16 11:37:33 +02:00
Lukas Kämmerling
f4b336a444
hcloud_volume: Force detaching volume on deletion ( #95 )
...
Force detaching of volumes before deleting when they are still attached to a server. This makes it easier for tools like molecule to see the correct state.
2021-07-16 10:55:08 +02:00
Lukas Kämmerling
a3ee69a303
Improve handling of out rules in hcloud_firewall ( #89 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2021-05-27 08:13:57 +02:00
Lukas Kämmerling
c5e8e980f6
cloud_server Improve error handling when using not existing server types ( #81 )
2021-04-22 10:24:41 +02:00
Lukas Kämmerling
04ef10041e
Fix compatibility of hcloud_server module with python version lower than python 3.6 ( #80 )
2021-04-22 08:39:34 +02:00
Lukas Kämmerling
ded9d9ddf8
hcloud_server - improve image handling ( #74 )
2021-04-07 08:15:10 +02:00
Lukas Kämmerling
e2dfd884e4
hcloud_load_balancer_service - fix imported wrong HealthCheck from hcloud-python
2021-04-06 12:25:40 +02:00
Lukas Kämmerling
e16ae06ea3
Add managed certs support ( #72 )
2021-04-06 11:59:59 +02:00
René Moser
cf4b59257a
hcloud_firewall, hcloud_server: fix idempotence ( #71 )
...
* hcloud_firewall, hcloud_server: extend tests for idempotence
* trigger tests
* hcloud_firewall, hcloud_server: fix idempotency
2021-04-06 11:28:38 +02:00
Andrew Klychkov
a05de55f30
[security] hcloud_certificate, hcloud_server: define no_log values for private_key and ssh_keys parameters ( #70 )
...
* hcloud_certificate, hcloud_server: define no_log values for private_key and ssh_keys parameters
* Add changelog fragment
2021-03-26 10:02:52 +01:00
René Moser
5b0837d159
hcloud_server: fix traceback in check mode ( #64 )
...
* hcloud_server: fix traceback in check mode
if server not exists.
* add changelog
2021-03-12 14:22:47 +01:00
Lukas Kämmerling
3c3a4771a7
Implement Firewall Support ( #63 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2021-03-11 11:07:41 +01:00
Lukas Kämmerling
eb45ae014c
Fix error handling and add test cases ( #58 )
...
* Fix error handling and add test cases
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2021-02-24 13:37:58 +01:00
Lukas Kämmerling
f59c76de2b
Improve Error handling on SSH Key creation ( #57 )
2021-02-23 10:05:32 +01:00
Lukas Kämmerling
9af840105a
Fix image NoneType exception in hcloud_network_info ( #56 )
2021-02-23 06:47:53 +01:00
Lukas Kämmerling
c26039cabf
Fix Sanity tests: doc-default-does-not-match-spec ( #46 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-12-08 07:37:54 +01:00
Lukas Kämmerling
4f9881b7a0
Prepare Release v1.2.0
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-12-01 11:34:37 +01:00
Lukas Kämmerling
857a9ce526
Allow updating hcloud_server_network ( #42 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-11-30 09:42:33 +01:00
Lukas Kämmerling
0617bc65f8
Add hcloud_load_balancer_info module ( #41 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-11-27 12:25:06 +01:00
Lukas Kämmerling
8bb449d3de
Improve imports of APIException ( #37 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-11-24 06:39:21 +01:00
Lukas Kämmerling
207d68677a
Add vswitch Integration ( #35 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-11-06 11:00:16 +01:00
ohdearaugustin
e59b91ca86
Fix Floating IP assignment is not idempotent ( #32 )
2020-10-05 11:09:00 +02:00
Lukas Kämmerling
fe84174cb6
Allow creating resources with protection ( #30 )
...
* Allow all supporting resources to be created with protection
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-10-01 11:09:51 +02:00
Lukas Kämmerling
87d989fcbe
Allow setting Floating IP RDNS entries with hcloud_rdns ( #27 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-09-08 08:13:10 +02:00
Lukas Kämmerling
660b923f75
Remove ANSIBLE_METADATA in hcloud_certificate and hcloud_certificate_info ( #26 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-09-03 08:20:02 +02:00
Lukas Kämmerling
603ecbe92b
Implement Label Selector and IP Targets ( #23 )
2020-08-11 16:16:02 +02:00
Lukas Kämmerling
9deba9db7a
hcloud_load_balancer Allow changing the type of a Load Balancer ( #21 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-08-10 09:58:30 +02:00
Lukas Kämmerling
64c99d9759
Allow the creation of servers with enabled backups ( #16 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2020-07-13 11:52:14 +02:00
Lukas Kämmerling
41354355e6
Fix inventory plugin does not work with old configuration files ( #15 )
2020-06-30 13:48:24 +02:00
Lukas Kämmerling
769a63ff22
Implement Load Balancers and Certificates and prepare release ( #13 )
2020-06-29 15:41:30 +02:00
Lukas Kämmerling
6d83275ffa
Polish old modules and collection for release ( #11 )
2020-06-29 13:53:01 +02:00
Lukas Kämmerling
e893006906
Fix sanity issues ( #6 )
2020-06-12 10:27:00 +02:00
Lukas Kämmerling
a2d00f8d7a
Add Gitlab-CI ( #3 )
2020-05-06 07:44:05 +02:00
Lukas Kämmerling
363598811e
Add Shippable CI ( #2 )
2020-04-14 08:34:22 +02:00
Ansible Core Team
36309bd27a
Initial commit
2020-03-09 13:36:01 +00:00