No description
Find a file
semantic-release-bot 665b796257 chore(release): 1.6.0 [skip ci]
# [1.6.0](https://github.com/de-it-krachten/ansible-role-kind/compare/v1.5.0...v1.6.0) (2025-08-09)

### Features

* Add support for AlmaLinux 10 ([dbcf699](dbcf6999a2))
* Add support for Debian 13 (Trixie) ([612147a](612147a89d))
* Add support for OracleLinux 10 ([f4e5a14](f4e5a14d41))
* Add support for Red Hat Enterprise Linux 10 ([1247044](1247044568))
* Add support for RockyLinux 10 ([e5b0327](e5b03270b9))
2025-08-09 15:02:18 +00:00
.github/workflows Fix CI 2025-08-08 17:42:19 +02:00
defaults Fix CI 2025-08-08 17:42:19 +02:00
meta Update supported platforms & CI 2025-08-06 20:13:14 +02:00
molecule/default Fix CI 2025-08-08 18:35:48 +02:00
tasks Update supported platforms & CI 2025-08-06 20:13:14 +02:00
templates feat: Add support for SLES/OpenSUSE 2023-07-07 22:39:20 +02:00
.ansible-lint feat: Initial release 2023-06-26 14:35:53 +02:00
.cicd Update supported platforms & CI 2025-08-06 20:13:14 +02:00
.cicd.overwrite Fix CI 2025-08-08 18:35:48 +02:00
.collections Update CI 2024-04-12 00:01:59 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 02:15:22 +01:00
.releaserc.yml feat: Initial release 2023-06-26 14:35:53 +02:00
.roles feat: Initial release 2023-06-26 14:35:53 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 02:15:22 +01:00
CHANGELOG.md chore(release): 1.6.0 [skip ci] 2025-08-09 15:02:18 +00:00
README.md Fix CI 2025-08-08 17:42:19 +02:00

CI

ansible-role-kind

Installs & manages kind (Kubernetes in Docker)

Optionally it can setup one or more clusters including the nginx ingress controller
Project: https://kind.sigs.k8s.io
Github: https://github.com/kubernetes-sigs/kind

Dependencies

Roles

  • deitkrachten.python
  • deitkrachten.docker

Collections

  • kubernetes.core
  • kubernetes.core

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • SUSE Linux Enterprise 151
  • openSUSE Leap 151
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Fedora 41
  • Fedora 42

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# Github CLI - API
kind_api: https://api.github.com/repos/kubernetes-sigs/kind

# Github CLI - repo
kind_repo: https://github.com/kubernetes-sigs/kind

# Lookup table for architecture
kind:
  architecture:
    x86_64: amd64
    i386: i386
    armv6l: arm
    armv7l: arm
    aarch64: arm64
  system:
    Linux: linux
    Darwin: darwin

# Construct filename based on the system & architecture
kind_file: "kind-{{ kind_system }}-{{ kind_architecture }}"

# Version of the CLI to install
kind_version: latest

# Location/ownership/permissions of the binary
kind_path: /usr/local/bin/kind
kind_owner: root
kind_group: root
kind_mode: '0755'

# List of clusters to create
kind_cluster_names: []

# Examples :
# kind_cluster_names:
# - name: cluster1
#   ingress: true
#   roles:
#     - control-plane
#     - worker
#     - worker
# - name: cluster2
#   template: templates/kind/cluster1.yml.j2

# OS packages
kind_os_packages:
  - python3-kubernetes
kind_pip_packages: []

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'kind'
  hosts: all
  become: 'yes'
  vars:
    python_package_install_optional: true
    docker_compose_type: pip
    kind_cluster_names:
      - name: cluster1
        ingress: true
        roles:
          - control-plane
  roles:
    - deitkrachten.kubectl
  tasks:
    - name: Include role 'kind'
      ansible.builtin.include_role:
        name: kind