kubespray/roles/kubernetes/control-plane
Max Gautier 0d4f57aa22
Validate systemd unit files (#10597)
* Validate systemd unit files

This ensure that we fail early if we have a bad systemd unit file
(syntax error, using a version not available in the local version, etc)

* Hack to check systemd version for service files validation

factory-reset.target was introduced in system 250, same version as the
aliasing feature we need for verifying systemd services with ansible.
So we only actually executes the validation if that target is present.

This is an horrible hack which should be reverted as soon as we drop
support for distributions with systemd<250.
2023-11-17 20:01:23 +01:00
..
defaults/main Move control plane certs renewal "spread out" into the systemd timer (#10596) 2023-11-08 12:35:20 +01:00
handlers Refactor "multi" handlers to use listen (#10542) 2023-11-08 12:28:30 +01:00
meta fix-the-issue-of-miss-the-etcd-user (#9016) 2022-06-28 09:13:58 -07:00
tasks Validate systemd unit files (#10597) 2023-11-17 20:01:23 +01:00
templates Move control plane certs renewal "spread out" into the systemd timer (#10596) 2023-11-08 12:35:20 +01:00
vars Add the option to enable default Pod Security Configuration (#9017) 2022-08-18 01:16:36 -07:00