Open mueller-ma opened 7 months ago
I had the following invalid ansible-role-rke2 config which lead to a broken /etc/rancher/rke2/config.yaml on the server:
/etc/rancher/rke2/config.yaml
rke2_server_options: service-node-port-range: 20000-32767
Maybe the config.yaml can be validated before trying to restart any service?
config.yaml
Feature Idea
@MonolithProjects Would you accept an PR that installs yamllint on the node and uses that to validate /etc/rancher/rke2/config.yaml? It can be made optional to avoid the installation of yamllint.
yamllint
Summary
I had the following invalid ansible-role-rke2 config which lead to a broken
/etc/rancher/rke2/config.yaml
on the server:Maybe the
config.yaml
can be validated before trying to restart any service?Issue Type
Feature Idea