Skip to content

Add watchdog to varnish#522

Open
MariuszJozwiak wants to merge 1 commit intorocky-developfrom
dev-varnishwatchdog
Open

Add watchdog to varnish#522
MariuszJozwiak wants to merge 1 commit intorocky-developfrom
dev-varnishwatchdog

Conversation

@MariuszJozwiak
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 80d9bae454

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

- name: Enable and start Varnish watchdog timer
ansible.builtin.systemd:
name: "{{ varnish_watchdog_timer_name }}"
enabled: true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Start watchdog timer immediately after enabling

This task only sets enabled: true, which makes the timer start on boot but does not activate it in the current run; systemctl --help lists enable and start as separate operations, and the Ansible systemd module follows that split. On freshly provisioned hosts that are not rebooted right away, the watchdog never executes, so unresponsive Varnish instances won't be restarted despite the task name saying "Enable and start".

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant