diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 003567d..9a4749a 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -5,7 +5,7 @@ host_key_checking = False retry_files_enabled = False stdout_callback = default callbacks_enabled = ansible.builtin.default -interpreter_python = auto_silent +interpreter_python = /usr/bin/python3 deprecation_warnings = False [callback_default] diff --git a/ansible/inventory/group_vars/all.yml b/ansible/inventory/group_vars/all.yml index 972fc8a..ff68639 100644 --- a/ansible/inventory/group_vars/all.yml +++ b/ansible/inventory/group_vars/all.yml @@ -13,7 +13,7 @@ ha_server_url: "{{ lookup('env', 'HA_SERVER_URL') | default('', true) }}" # K3s Server URL (优先使用 HA_SERVER_URL,否则动态使用 init 节点地址) k3s_server_url: "{{ ha_server_url if (ha_server_url | length > 0) else '' }}" k3s_version: "v1.35.6+k3s1" -tailscale_version: "1.96.4" +tailscale_version: "1.102.3" # ETCD 配置 etcd_snapshot_retention: 1 diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml index 94706c8..0bbfda7 100644 --- a/ansible/roles/common/tasks/main.yml +++ b/ansible/roles/common/tasks/main.yml @@ -67,7 +67,6 @@ ansible.builtin.apt: name: - "tailscale={{ tailscale_version }}" - - "tailscaled={{ tailscale_version }}" state: present allow_downgrade: true when: tailscale_needs_install