browsertrix/ansible/roles/microk8s
Francis Kayiwa 487110eca3
Deployment: Add Ansible setup to deploy with microk8s (#296)
- adds an ansible/ directory for management deployments, starting with microk8s
- has a microk8s role
      we will need to add workers
- has a playbook with variables that can install most places
2022-08-19 12:49:21 -07:00
..
defaults Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
handlers Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
meta Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
molecule/default Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
tasks Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
tests Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
vars Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
.ansible-lint Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
.yamllint Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00
README.md Deployment: Add Ansible setup to deploy with microk8s (#296) 2022-08-19 12:49:21 -07:00

Role Name

Installs and configures MicroK8s

Requirements

Role Variables

Add plugins you need installed with the following. (in the example below we are adding istio)

microk8s_plugins:
  istio: true                            # Core Istio service mesh services

more information at defaults/main.yml

You will want to make sure you add a value for users above. This will be the user that runs microk8s

Dependencies

The example here has been tested with Docker's Runtime

Example Playbook

replace this with the IP address of your endpoint

---
- name: install microk8s
  hosts: "{{ your_ip }}"
  remote_user: "{{ your_user }}"
  become: true
  roles:
    - role: ../roles/microk8s

License

ISC