-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
SUMMARY
On every run the load balancer module reports changes
ISSUE TYPE
- Bug Report
COMPONENT NAME
hcloud_load_balancer_service
ANSIBLE VERSION
ansible [core 2.16.0]
COLLECTION VERSION
Collection Version
-------------- -------
hetzner.hcloud 2.3.0
CONFIGURATION
ANSIBLE_PIPELINING(/Users/betelgeuse/.ansible.cfg) = True
CALLBACKS_ENABLED(/Users/betelgeuse/.ansible.cfg) = ['timer', 'profile_tasks', 'profile_roles']
CONFIG_FILE() = /Users/betelgeuse/.ansible.cfg
STEPS TO REPRODUCE
- name: Load Balancer Service
hetzner.hcloud.hcloud_load_balancer_service:
api_token: "{{ api_token.passphrase }}"
load_balancer: load-balancer
protocol: https
listen_port: 443
http:
certificates:
- certificate
redirect_http: trueEXPECTED RESULTS
Report no change.
ACTUAL RESULTS
changed: [localhost] => {
"changed": true,
"hcloud_load_balancer_service": {
"destination_port": 80,
"health_check": {
"http": {
"domain": "",
"path": "/",
"response": "",
"status_codes": [
"2??",
"3??"
],
"tls": false
},
"interval": 15,
"port": 80,
"protocol": "http",
"retries": 3,
"timeout": 10
},
"http": {
"certificates": [
"certificate"
],
"cookie_lifetime": "HCLBSTICKY",
"cookie_name": "HCLBSTICKY",
"redirect_http": true,
"sticky_sessions": false
},
"listen_port": 443,
"load_balancer": "load-balancer",
"protocol": "https",
"proxyprotocol": false
},
"invocation": {
"module_args": {
"api_token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"destination_port": null,
"endpoint": "https://api.hetzner.cloud/v1",
"health_check": null,
"http": {
"certificates": [
"certificate"
],
"cookie_lifetime": null,
"cookie_name": null,
"redirect_http": true,
"sticky_sessions": false
},
"listen_port": 443,
"load_balancer": "load-balancer",
"protocol": "https",
"proxyprotocol": false,
"state": "present"
}
}
}
jooola