mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
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:
@@ -4,6 +4,8 @@ deploy_netchecker: true
|
|||||||
dns_min_replicas: 1
|
dns_min_replicas: 1
|
||||||
unsafe_show_logs: true
|
unsafe_show_logs: true
|
||||||
|
|
||||||
|
bin_dir: "{{ '/opt/bin' if ansible_os_family == 'Flatcar' else '/usr/local/bin' }}"
|
||||||
|
|
||||||
# Registry mirrors settings
|
# Registry mirrors settings
|
||||||
docker_registry_mirrors:
|
docker_registry_mirrors:
|
||||||
- "https://mirror.gcr.io"
|
- "https://mirror.gcr.io"
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Testcases checking nodes
|
- name: Testcases checking nodes
|
||||||
hosts: kube_control_plane[0]
|
hosts: kube_control_plane[0]
|
||||||
vars:
|
|
||||||
bin_dir: /usr/local/bin
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- import_role: # noqa name[missing]
|
- import_role: # noqa name[missing]
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Testcases checking pods
|
- name: Testcases checking pods
|
||||||
hosts: kube_control_plane[0]
|
hosts: kube_control_plane[0]
|
||||||
vars:
|
|
||||||
bin_dir: /usr/local/bin
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- import_role: # noqa name[missing]
|
- import_role: # noqa name[missing]
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
test_image_tag: "2.40"
|
test_image_tag: "2.40"
|
||||||
# TODO: source those from kubespray_defaults instead.
|
# TODO: source those from kubespray_defaults instead.
|
||||||
# Needs kubespray_defaults to be decoupled from no-proxy stuff
|
# 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' }}"
|
kube_pods_subnet: "{{ 'fd85:ee78:d8a6:8607::1:0000/112' if not (ipv4_stack | default(true)) else '10.233.64.0/18' }}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
agent_report_interval: 10
|
agent_report_interval: 10
|
||||||
netcheck_namespace: default
|
netcheck_namespace: default
|
||||||
netchecker_port: 31081
|
netchecker_port: 31081
|
||||||
bin_dir: "/usr/local/bin"
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- import_role: # noqa name[missing]
|
- import_role: # noqa name[missing]
|
||||||
|
|||||||
Reference in New Issue
Block a user