mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 02:00:03 -03: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,5 +1,5 @@
|
||||
---
|
||||
- include: pre-upgrade.yml
|
||||
- import_tasks: pre-upgrade.yml
|
||||
|
||||
- name: Flannel | Create Flannel manifests
|
||||
template:
|
||||
@@ -11,4 +11,4 @@
|
||||
register: flannel_node_manifests
|
||||
when:
|
||||
- inventory_hostname in groups['kube-master']
|
||||
- rbac_enabled or item.type not in rbac_resources
|
||||
- rbac_enabled or item.type not in rbac_resources
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- include: seed.yml
|
||||
- import_tasks: seed.yml
|
||||
when: weave_mode_seed
|
||||
|
||||
- name: Weave | Copy cni plugins from hyperkube
|
||||
|
||||
Reference in New Issue
Block a user