Increase cpu sizing;Change default value;Fix filename;Fix endpoint;Add dependency;Fix filemode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-14 14:54:04 +02:00
parent 81847d3b93
commit 44befeda4b
4 changed files with 28 additions and 16 deletions

View File

@ -7,14 +7,6 @@
- /var/lib/rancher/k3s/server/manifests
- /opt/metacluster/k3s
- name: Inject manifests
ansible.builtin.template:
src: helmchartconfig.j2
dest: /var/lib/rancher/k3s/server/manifests/{{ item.name }}_config.yml
loop: "{{ platform.packaged_components }}"
loop_control:
label: "{{ item.name }}"
- name: Download & install K3s binary
ansible.builtin.get_url:
url: https://github.com/k3s-io/k3s/releases/download/{{ platform.k3s.version }}/k3s
@ -35,3 +27,14 @@
owner: root
group: root
mode: 0755
- name: Inject manifests
ansible.builtin.template:
src: helmchartconfig.j2
dest: /var/lib/rancher/k3s/server/manifests/{{ item.name }}-config.yaml
owner: root
group: root
mode: 0600
loop: "{{ platform.packaged_components }}"
loop_control:
label: "{{ item.name }}"