mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
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
|
||||
|
||||
Reference in New Issue
Block a user