kubespray/roles/kubernetes/control-plane/tasks
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
..
define-first-kube-control.yml project: fix var-spacing ansible rule (#10266) 2023-07-04 20:36:54 -07:00
encrypt-at-rest.yml Fix: kube-apiserver tag will overwrite secrets-at-rest token if used independently (#10460) 2023-09-21 06:55:29 -07:00
kubeadm-backup.yml Move to Ansible 3.4.0 (#7672) 2021-07-12 00:00:47 -07:00
kubeadm-etcd.yml Install etcdutl file by default (#10385) 2023-08-23 07:04:22 -07:00
kubeadm-fix-apiserver.yml Add kubeadm option to etcd_deployment_type to replace the etcd_kubeadm_enabled variable (#8317) 2022-02-22 08:53:16 -08:00
kubeadm-secondary.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
kubeadm-setup.yml Migrate node-role.kubernetes.io/master to node-role.kubernetes.io/con… (#10464) 2023-10-17 21:39:40 +02:00
kubeadm-upgrade.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
kubelet-fix-client-cert-rotation.yml Fixup kubelet.conf to point to kubelet-client-current.pem (#7347) 2021-03-08 23:55:00 -08:00
main.yml Validate systemd unit files (#10597) 2023-11-17 20:01:23 +01:00
pre-upgrade.yml project: fix var-spacing ansible rule (#10266) 2023-07-04 20:36:54 -07:00
psp-install.yml pre-commit autocorrected files (#9750) 2023-02-06 01:35:16 -08:00