Skip to content

A space for Ansible playbooks, roles and other resources related with the K3s

Notifications You must be signed in to change notification settings

przemekmatusiak/ansible-k3s

Repository files navigation

Usage

Each playbook is equipped with usage commands (usually - top comment lines).

Dependencies

Bitwarden

Account

Create a new account on bitwarden.com.

CLI

CLI can be installed with the przemekmatusiak/ansible-common bitwarden-cli-playbook.yml or manually - bitwarden/clients - CLI.

Bitwarden secrets

Create these secrets depending on the playbook you're going to use:

For playbooks starting with k3s- :

For playbooks starting with nextcloud- :

  • k3s-nextcloud-db-secret
    Type: Login data
    Fields:
    • User name: Database user name for the Nextcloud appliance (e.g. nextcloud)
    • Password: Database user password.
    • Custom field: replication-password : Replication user password for multi-instance database setup.
    • Custom field: postgres-password : PosrgreSQL superuser password.

Fedora Server packages:

sudo dnf install \
 ansible \
 ansible-collection-ansible-posix \
 ansible-collection-ansible-utils \
 ansible-collection-kubernetes-core \
 ansible-collection-community-general \
 linux-system-roles \
 python3-jmespath \
 python3-kubernetes \
 python3-netaddr \
 helm

TODO

  • rootless server & agents
  • automated TLS certificate manager (e.g. certbot) for let'sEncrypt/ZeroSSL
  • local container registry for images and helm charts

About

A space for Ansible playbooks, roles and other resources related with the K3s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages