kubespray/roles/etcd/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
..
check_certs.yml project: fix var-spacing ansible rule (#10266) 2023-07-04 20:36:54 -07:00
configure.yml Validate systemd unit files (#10597) 2023-11-17 20:01:23 +01:00
gen_certs_script.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
gen_nodes_certs_script.yml Retries ssh connection for Gather node certs (#10515) 2023-10-19 05:04:29 +02:00
install_docker.yml Install etcdutl file by default (#10385) 2023-08-23 07:04:22 -07:00
install_host.yml Install etcdutl file by default (#10385) 2023-08-23 07:04:22 -07:00
join_etcd-events_member.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
join_etcd_member.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
main.yml Install etcdutl file by default (#10385) 2023-08-23 07:04:22 -07:00
refresh_config.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
upd_ca_trust.yml Fix outdated tag and experimental ansible-lint rules (#10254) 2023-06-30 02:51:57 -07:00