diff --git a/README.md b/README.md index 4cde159..1eb3cac 100644 --- a/README.md +++ b/README.md @@ -57,35 +57,15 @@ Deployment environment must have Ansible 2.9.0+ Usage ----- -Create a new directory based on the one of the sample inventory directories within the `docs` directory: +Create an Ansible inventory file (or folder), you can check the docs folder for examples (`basic_sample_inventory` or `advanced_sample_inventory`). -```bash -cp -R ./docs/basic_sample_inventory ./inventory -``` - -Second, edit `inventory/hosts.yaml` to match the system information gathered above. For example: - -```yaml ---- -rke2_cluster: - children: - rke2_servers: - hosts: - server0.example.com: - rke2_agents: - hosts: - agent0.example.com: -``` - -If needed, you can also create `inventory/group_vars/rke2_agents.yml` and `inventory/my-cluster/group_vars/rke2_servers.yml` to match your environment. - -Start provisioning of the cluster using the following command: +> [!NOTE] +> More detailed information can be found [here](./docs/README.md) +Start provisioning the cluster using the following command: ```bash -ansible-playbook site.yml -i inventory/hosts.yml +ansible-playbook site.yml -i inventory/hosts.yml -b ``` -> [!NOTE] -> More detailed information can be found [here](./docs/README.md) Tarball Install/Air-Gap Install @@ -98,14 +78,6 @@ Kubeconfig The root user will have the `kubeconfig` and `kubectl` made available, to access your cluster login into any server node and `kubectl` will be available for use immediately. -Available configurations ------------------------- -Variables should be set in `inventory/group_vars/rke2_agents.yml` and `inventory/group_vars/rke2_servers.yml`. - -> [!NOTE] -> More detailed information can be found [here](./docs/README.md) - - Uninstall RKE2 --------------- Note: Uninstalling RKE2 deletes the cluster data and all of the scripts. diff --git a/site.yml b/site.yml index 7fd240e..9d204c8 100644 --- a/site.yml +++ b/site.yml @@ -3,6 +3,6 @@ - name: RKE2 play hosts: all any_errors_fatal: true - become: true + # become: true roles: - role: rke2