Test: remove bin_dir from other tasks move to common_vars.yml

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
ChengHao Yang
2025-05-27 23:29:32 +08:00
parent 2fbbf2e1e4
commit 0d5e18053e
5 changed files with 2 additions and 6 deletions

View File

@@ -4,6 +4,8 @@ deploy_netchecker: true
dns_min_replicas: 1
unsafe_show_logs: true
bin_dir: "{{ '/opt/bin' if ansible_os_family == 'Flatcar' else '/usr/local/bin' }}"
# Registry mirrors settings
docker_registry_mirrors:
- "https://mirror.gcr.io"

View File

@@ -1,8 +1,6 @@
---
- name: Testcases checking nodes
hosts: kube_control_plane[0]
vars:
bin_dir: /usr/local/bin
tasks:
- import_role: # noqa name[missing]

View File

@@ -1,8 +1,6 @@
---
- name: Testcases checking pods
hosts: kube_control_plane[0]
vars:
bin_dir: /usr/local/bin
tasks:
- import_role: # noqa name[missing]

View File

@@ -6,7 +6,6 @@
test_image_tag: "2.40"
# TODO: source those from kubespray_defaults instead.
# Needs kubespray_defaults to be decoupled from no-proxy stuff
bin_dir: "/usr/local/bin"
kube_pods_subnet: "{{ 'fd85:ee78:d8a6:8607::1:0000/112' if not (ipv4_stack | default(true)) else '10.233.64.0/18' }}"
tasks:

View File

@@ -19,7 +19,6 @@
agent_report_interval: 10
netcheck_namespace: default
netchecker_port: 31081
bin_dir: "/usr/local/bin"
tasks:
- import_role: # noqa name[missing]