mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-28 22:35:12 -02:30
Use include/import tasks (#2192)
import_tasks will consume far less memory, so it should be used whenever it is compatible.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
---
|
||||
- include: facts.yml
|
||||
- import_tasks: facts.yml
|
||||
tags:
|
||||
- facts
|
||||
|
||||
- include: pre_upgrade.yml
|
||||
- import_tasks: pre_upgrade.yml
|
||||
tags:
|
||||
- kubelet
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- include: install.yml
|
||||
- import_tasks: install.yml
|
||||
tags:
|
||||
- kubelet
|
||||
|
||||
- include: nginx-proxy.yml
|
||||
- import_tasks: nginx-proxy.yml
|
||||
when: is_kube_master == false and loadbalancer_apiserver_localhost
|
||||
tags:
|
||||
- nginx
|
||||
|
||||
Reference in New Issue
Block a user