Readme

Abstract

The readme for some Ansible roles for managing bare metal k8s clusters.

Readme#

Ansible Lint CodeQL Documentation OSSAR ShellCheck wakatime

Assumptions#

The default configuration assumes a vault password exists at /etc/ansible/vault. It also assumes the inventory file is in YAML format and located at /etc/ansible/hosts.yaml

Fact Caching#

The default configuration uses fact caching with Redis running on the controller with the default port.

Usage#

You can find an example inventory file below, this inventory is intended to house a Kubernetes cluster with a pair of control planes that are members of a Samba Active Directory Domain that contains a pair of controllers and is responsible for authentication, file, and routing services.

/etc/ansible/hosts.yaml#
kcp:
  hosts:
    kcp01.example.com:
      ansible_user: 1.2.3.4
    kcp02.example.com:
      ansible_user: 1.2.3.4