mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-30 12:42:37 +01:00
Compare commits
3 Commits
3ec6e618f1
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cbbf7371b | ||
|
|
422621c69c | ||
|
|
39988a9bee |
4
.github/ISSUE_TEMPLATE.md
vendored
4
.github/ISSUE_TEMPLATE.md
vendored
@@ -1,5 +1,5 @@
|
||||
|
||||
<!-- It's a good idea to check this post first for general troubleshooting https://github.com/techno-tim/k3s-ansible/discussions/19 -->
|
||||
<!-- It's a good idea to check this post first for general troubleshooting https://github.com/timothystewart6/k3s-ansible/discussions/19 -->
|
||||
|
||||
<!--- Provide a general summary of the issue in the Title above -->
|
||||
|
||||
@@ -82,4 +82,4 @@ node
|
||||
## Possible Solution
|
||||
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
||||
|
||||
- [ ] I've checked the [General Troubleshooting Guide](https://github.com/techno-tim/k3s-ansible/discussions/20)
|
||||
- [ ] I've checked the [General Troubleshooting Guide](https://github.com/timothystewart6/k3s-ansible/discussions/20)
|
||||
|
||||
@@ -130,7 +130,7 @@ See the commands [here](https://technotim.live/posts/k3s-etcd-ansible/#testing-y
|
||||
| `k3s_agent`, `k3s_server` | `proxy_env.HTTP_PROXY` | string | ❌ | Required | HTTP internet proxy |
|
||||
| `k3s_agent`, `k3s_server` | `proxy_env.HTTPS_PROXY` | string | ❌ | Required | HTTP internet proxy |
|
||||
| `k3s_agent`, `k3s_server` | `proxy_env.NO_PROXY` | string | ❌ | Required | Addresses that will not use the proxies |
|
||||
| `k3s_agent`, `k3s_server` | `systemd_dir` | string | `/etc/systemd/system` | Not required | Path to systemd services |
|
||||
| `k3s_agent`, `k3s_server`, `reset` | `systemd_dir` | string | `/etc/systemd/system` | Not required | Path to systemd services |
|
||||
| `k3s_custom_registries` | `custom_registries_yaml` | string | ❌ | Required | YAML block defining custom registries. The following is an example that pulls all images used in this playbook through your private registries. It also allows you to pull your own images from your private registry, without having to use imagePullSecrets in your deployments. If all you need is your own images and you don't care about caching the docker/quay/ghcr.io images, you can just remove those from the mirrors: section. |
|
||||
| `k3s_server`, `k3s_server_post` | `cilium_bgp` | bool | `~` | Not required | Enable cilium BGP control plane for LB services and pod cidrs. Disables the use of MetalLB. |
|
||||
| `k3s_server`, `k3s_server_post` | `cilium_iface` | string | ❌ | Not required | The network interface used for when Cilium is enabled |
|
||||
@@ -185,11 +185,13 @@ See the commands [here](https://technotim.live/posts/k3s-etcd-ansible/#testing-y
|
||||
| `k3s_server_post` | `metal_lb_bgp_peer_address` | string | `~` | Not required | BGP peer address |
|
||||
| `lxc` | `custom_reboot_command` | string | `~` | Not required | Command to run on reboot |
|
||||
| `prereq` | `system_timezone` | string | `null` | Not required | Timezone to be set on all nodes |
|
||||
| `proxmox_lxc`, `reset_proxmox_lxc` | `proxmox_lxc_ct_ids` | list | ❌ | Required | Proxmox container ID list |
|
||||
| `raspberrypi` | `state` | string | `present` | Not required | Indicates whether the k3s prerequisites for Raspberry Pi should be set up (possible values are `present` and `absent`) |
|
||||
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
Be sure to see [this post](https://github.com/techno-tim/k3s-ansible/discussions/20) on how to troubleshoot common problems
|
||||
Be sure to see [this post](https://github.com/timothystewart6/k3s-ansible/discussions/20) on how to troubleshoot common problems
|
||||
|
||||
### Testing the playbook using molecule
|
||||
|
||||
@@ -216,7 +218,7 @@ collections:
|
||||
- name: community.general
|
||||
- name: ansible.posix
|
||||
- name: kubernetes.core
|
||||
- name: https://github.com/techno-tim/k3s-ansible.git
|
||||
- name: https://github.com/timothystewart6/k3s-ansible.git
|
||||
type: git
|
||||
version: master
|
||||
```
|
||||
|
||||
@@ -56,16 +56,16 @@ dependencies:
|
||||
kubernetes.core: '*'
|
||||
|
||||
# The URL of the originating SCM repository
|
||||
repository: https://github.com/techno-tim/k3s-ansible
|
||||
repository: https://github.com/timothystewart6/k3s-ansible
|
||||
|
||||
# The URL to any online docs
|
||||
documentation: https://github.com/techno-tim/k3s-ansible
|
||||
documentation: https://github.com/timothystewart6/k3s-ansible
|
||||
|
||||
# The URL to the homepage of the collection/project
|
||||
homepage: https://www.youtube.com/watch?v=CbkEWcUZ7zM
|
||||
|
||||
# The URL to the collection issue tracker
|
||||
issues: https://github.com/techno-tim/k3s-ansible/issues
|
||||
issues: https://github.com/timothystewart6/k3s-ansible/issues
|
||||
|
||||
# A list of file glob-like patterns used to filter any files or directories that should not be included in the build
|
||||
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
ansible-compat==4.1.11
|
||||
# via molecule
|
||||
ansible-core==2.17.5
|
||||
ansible-core==2.18.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# ansible-compat
|
||||
|
||||
9
roles/proxmox_lxc/meta/main.yml
Normal file
9
roles/proxmox_lxc/meta/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Proxmox LXC settings
|
||||
options:
|
||||
proxmox_lxc_ct_ids:
|
||||
description: Proxmox container ID list
|
||||
type: list
|
||||
required: true
|
||||
10
roles/raspberrypi/meta/main.yml
Normal file
10
roles/raspberrypi/meta/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Adjust some Raspberry Pi specific requisites
|
||||
options:
|
||||
state:
|
||||
default: present
|
||||
description:
|
||||
- Indicates whether the k3s prerequisites for Raspberry Pi should be
|
||||
- set up (possible values are `present` and `absent`)
|
||||
9
roles/reset_proxmox_lxc/meta/main.yml
Normal file
9
roles/reset_proxmox_lxc/meta/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Proxmox LXC settings
|
||||
options:
|
||||
proxmox_lxc_ct_ids:
|
||||
description: Proxmox container ID list
|
||||
type: list
|
||||
required: true
|
||||
Reference in New Issue
Block a user