This is an Ansible role to install and configure k3s.
Include more information about k3s in this section.
These platforms are supported:
- Ubuntu 20.04
- Ubuntu 22.04
- Debian 10
- Debian 11
- Debian 12
- EL 8 (Tested on Rocky Linux 8)
- EL 9 (Tested on Rocky Linux 9)
- Fedora 38
- openSUSE Leap 15.5
- openSUSE MicroOS (Best effort)
Variable | Default | Description |
---|
None
- name: Use diademiemi.k3s role
hosts: "{{ target | default('k3s') }}"
roles:
- role: "diademiemi.k3s"
tags: ['diademiemi', 'k3s', 'setup']
vars:
k3s_role: master # At least one master is required
MIT
- diademiemi (@diademiemi)
This repository comes with Molecule that run in Podman on the supported platforms. Install Molecule by running
pip3 install -r requirements.txt
Run the tests with
molecule test
These tests are automatically ran by GitHub Actions on push. If the tests are successful, the role is automatically published to Ansible Galaxy.