Closed TobiasS1402 closed 2 years ago
I tried to install the role in the feat/alpine-support branch, it works like a charm except for one issue.
TASK [xanmanning.k3s : include_tasks] *******************************************************************************************************************************************
fatal: [gaia]: FAILED! => {"reason": "Could not find or access '/home/tobias/kubernetes-playground/ensure_control_plane_started_openrc.yml' on the Ansible Controller."}
fatal: [atlas]: FAILED! => {"reason": "Could not find or access '/home/tobias/kubernetes-playground/ensure_control_plane_started_openrc.yml' on the Ansible Controller."}
fatal: [hecate]: FAILED! => {"reason": "Could not find or access '/home/tobias/kubernetes-playground/ensure_control_plane_started_openrc.yml' on the Ansible Controller."}
fatal: [helios]: FAILED! => {"reason": "Could not find or access '/home/tobias/kubernetes-playground/ensure_control_plane_started_openrc.yml' on the Ansible Controller."}
It is looking for include_tasks: ensure_control_plane_started_{{ ansible_service_mgr }}.yml
and searched for openrc, while the yaml file you created is called ensure_control_plane_started_sysvinit.yml
. I tried to hardcode this locally inside the Role and this works like a charm. Thanks!👍
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Summary
Are you planning on implementing Alpine Linux support, or can you help me hack the repository to make it work with OpenRC instead of systemd?
Issue Type
Additional Information
My current install fails with not being able to start the service, when running the
curl -sfL https://get.k3s.io | sh -
script from k3s.io it does check if systemd is there, or else it will use OpenRC to create the services and stuff.Failing:
Default k3s install: