--- - name: Copy Configuration ansible.builtin.template: src: config.yaml.j2 dest: /etc/rancher/k3s/config.yaml owner: root group: root mode: "644" become: True - name: Run Installation ansible.builtin.command: cmd: curl -sfL https://get.k3s.io | sh -s - agent creates: /etc/systemd/system/k3s-agent.service become: True