mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-25 18:23:05 +01:00
Compare commits
11 Commits
v1.24.11+k
...
v1.25.9+k3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edd4838407 | ||
|
|
5c79ea9b71 | ||
|
|
3d204ad851 | ||
|
|
13bd868faa | ||
|
|
c564a8562a | ||
|
|
0d6d43e7ca | ||
|
|
c0952288c2 | ||
|
|
1c9796e98b | ||
|
|
288c4089e0 | ||
|
|
49f0a2ce6b | ||
|
|
6c4621bd56 |
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
k3s_version: v1.24.11+k3s1
|
k3s_version: v1.25.9+k3s1
|
||||||
# this is the user that has ssh access to these machines
|
# this is the user that has ssh access to these machines
|
||||||
ansible_user: ansibleuser
|
ansible_user: ansibleuser
|
||||||
systemd_dir: /etc/systemd/system
|
systemd_dir: /etc/systemd/system
|
||||||
@@ -41,7 +41,7 @@ extra_agent_args: >-
|
|||||||
{{ extra_args }}
|
{{ extra_args }}
|
||||||
|
|
||||||
# image tag for kube-vip
|
# image tag for kube-vip
|
||||||
kube_vip_tag_version: "v0.5.11"
|
kube_vip_tag_version: "v0.5.12"
|
||||||
|
|
||||||
# metallb type frr or native
|
# metallb type frr or native
|
||||||
metal_lb_type: "native"
|
metal_lb_type: "native"
|
||||||
|
|||||||
2
inventory/sample/group_vars/proxmox.yml
Normal file
2
inventory/sample/group_vars/proxmox.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
ansible_user: '{{ proxmox_lxc_ssh_user }}'
|
||||||
@@ -6,12 +6,12 @@
|
|||||||
#
|
#
|
||||||
ansible-compat==3.0.1
|
ansible-compat==3.0.1
|
||||||
# via molecule
|
# via molecule
|
||||||
ansible-core==2.14.3
|
ansible-core==2.14.5
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# ansible-compat
|
# ansible-compat
|
||||||
# ansible-lint
|
# ansible-lint
|
||||||
ansible-lint==6.14.2
|
ansible-lint==6.15.0
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
arrow==1.2.3
|
arrow==1.2.3
|
||||||
# via jinja2-time
|
# via jinja2-time
|
||||||
@@ -202,7 +202,7 @@ wcmatch==8.4.1
|
|||||||
# via ansible-lint
|
# via ansible-lint
|
||||||
websocket-client==1.4.2
|
websocket-client==1.4.2
|
||||||
# via kubernetes
|
# via kubernetes
|
||||||
yamllint==1.29.0
|
yamllint==1.31.0
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# ansible-lint
|
# ansible-lint
|
||||||
|
|||||||
@@ -67,18 +67,18 @@
|
|||||||
content: "{{ lookup('template', 'templates/rc.local.j2') }}"
|
content: "{{ lookup('template', 'templates/rc.local.j2') }}"
|
||||||
create: false
|
create: false
|
||||||
state: absent
|
state: absent
|
||||||
when: proxmox_lxc_configure and rclocal.stat.exists
|
when: proxmox_lxc_configure and rcfile.stat.exists
|
||||||
|
|
||||||
- name: Check rc.local for cleanup
|
- name: Check rc.local for cleanup
|
||||||
become: true
|
become: true
|
||||||
slurp:
|
slurp:
|
||||||
src: /etc/rc.local
|
src: /etc/rc.local
|
||||||
register: rcslurp
|
register: rcslurp
|
||||||
when: proxmox_lxc_configure and rclocal.stat.exists
|
when: proxmox_lxc_configure and rcfile.stat.exists
|
||||||
|
|
||||||
- name: Cleanup rc.local if we only have a Shebang line
|
- name: Cleanup rc.local if we only have a Shebang line
|
||||||
become: true
|
become: true
|
||||||
file:
|
file:
|
||||||
path: /etc/rc.local
|
path: /etc/rc.local
|
||||||
state: absent
|
state: absent
|
||||||
when: proxmox_lxc_configure and rclocal.stat.exists and ((rcslurp.content | b64decode).splitlines() | length) <= 1
|
when: proxmox_lxc_configure and rcfile.stat.exists and ((rcslurp.content | b64decode).splitlines() | length) <= 1
|
||||||
|
|||||||
Reference in New Issue
Block a user