Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hcloud_load_balancer_service reports change every time #415

Open
betelgeuse opened this issue Dec 11, 2023 · 2 comments
Open

hcloud_load_balancer_service reports change every time #415

betelgeuse opened this issue Dec 11, 2023 · 2 comments
Assignees
Labels
bug Something isn't working pinned

Comments

@betelgeuse
Copy link

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: true
EXPECTED 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 jooola added the bug Something isn't working label Dec 11, 2023
Copy link

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

@github-actions github-actions bot added the stale label Mar 11, 2024
@betelgeuse
Copy link
Author

Commenting to avoid marking as stale.

@jooola jooola added pinned and removed stale labels Mar 11, 2024
@jooola jooola self-assigned this Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned
Projects
None yet
Development

No branches or pull requests

2 participants