fix: modified the ansible docs (#86)

1. remove kubernetes dir in playbooks task
2. remove unattended
3. remove kube-vip dir in templates
4. change adhoc:ping
5. add task ansible:deps
This commit is contained in:
Kyle Chou authored and GitHub committed 2021-09-28 06:44:29 -04:00
1 parent b31bb8d5db
commit 6f5eeaebd3
3 files changed
+9 -11

No files matched your search

+7 -5
View File
@@ -191,15 +191,17 @@ In order to use Terraform and `cert-manager` with the Cloudflare DNS challenge y
1. Verify Ansible can view your config by running `task ansible:list`
2. Verify Ansible can ping your nodes by running `task ansible:ping`
2. Verify Ansible can ping your nodes by running `task ansible:adhoc:ping`
3. Run the k3s install playbook by running `task ansible:playbook:k3s-install`
3. Install the deps by running `task ansible:deps`
4. If everything goes as planned you should see Ansible running the k3s install Playbook against your nodes.
4. Run the k3s install playbook by running `task ansible:playbook:k3s-install`
5. Copy the `kubeconfig` file from `/tmp` to your repository.
5. If everything goes as planned you should see Ansible running the k3s install Playbook against your nodes.
6. Verify the nodes are online
6. Copy the `kubeconfig` file from `/tmp` to your repository.
7. Verify the nodes are online
```sh
kubectl --kubeconfig=./kubeconfig get nodes
@@ -28,5 +28,5 @@ k3s_registration_address: "{{ kubevip_address }}"
# (list) A flat list of templates to deploy on the primary control plane
# /var/lib/rancher/k3s/server/manifests
k3s_server_manifests_templates:
- "kube-vip/kube-vip-rbac.yaml.j2"
- "kube-vip/kube-vip-daemonset.yaml.j2"
- "kube-vip-rbac.yaml.j2"
- "kube-vip-daemonset.yaml.j2"
@@ -15,10 +15,6 @@
tags:
- filesystem
- include: unattended-upgrades.yml
tags:
- unattended-upgrades
- include: user.yml
tags:
- user