bugfix:TSG-16319:修改k3s的service安装目录为/usr/lib/systemd/system

This commit is contained in:
fumingwei
2023-07-25 17:22:07 +08:00
parent 5693f753bb
commit 0999494140

View File

@@ -28,7 +28,7 @@
url_password: "{{ lookup('env', 'PULP_REPO_PASSWORD') }}"
- name: "execute k3s install"
shell: curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_DOWNLOAD=true INSTALL_K3S_SKIP_ENABLE=true INSTALL_K3S_BIN_DIR=/usr/bin sh -s - --flannel-backend=none --node-name=localhost
shell: curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_DOWNLOAD=true INSTALL_K3S_SKIP_ENABLE=true INSTALL_K3S_BIN_DIR=/usr/bin INSTALL_K3S_SYSTEMD_DIR=/usr/lib/systemd/system sh -s - --flannel-backend=none --node-name=localhost
# - name: "enable k3s"
# systemd: