role_microk8s/README.md

29 lines
814 B
Markdown
Raw Permalink Normal View History

2021-07-22 23:14:56 -04:00
# Ansible Role: microk8s
## Introduction
This role will install a microk8s cluster to three or more target hosts.
This role requires at least three target hosts, previously deployed. Each
host should have at least 4GB of RAM and at least a 20GB disk. The hosts
should also be running Ubuntu LTS; 18.04, 20.04 or 22.04.
2021-07-22 23:14:56 -04:00
It is also assumed that the user running the playbook has SSH key access
set up for the root user on the target hosts.
This playbook can be run using the following command line;
ansible-playbook -i <inventory file> -e "username=<username>" microk8s.yml
ie,
ansible-playbook -i cluster_inventory.yml -e "username=someuser" microk8s.yml
2021-07-22 23:14:56 -04:00
NOTE:
The following variables must be specified in the calling playbook (usually
done by doing a 'gather_facts' action);
{{ ansible_distribution }}