forked from catalin/fukuops
17 lines
No EOL
329 B
YAML
17 lines
No EOL
329 B
YAML
---
|
|
- name: Create rancher folder
|
|
file:
|
|
state: directory
|
|
path: /etc/rancher/k3s
|
|
owner: root
|
|
group: root
|
|
mode: 755
|
|
|
|
- name: Copy k3s config file
|
|
template:
|
|
src: agent.config.yaml.j2
|
|
dest: /etc/rancher/k3s/config.yaml
|
|
mode: 600
|
|
|
|
- name: Install k3s agent
|
|
shell: "bash /tmp/k3s.install.sh agent" |