mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 07:17:45 -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:
@@ -11,9 +11,9 @@
|
||||
# used during step 1, allowing all certs to have the same chain of trust.
|
||||
|
||||
## Bootstrap
|
||||
- include: bootstrap/main.yml
|
||||
- include_tasks: bootstrap/main.yml
|
||||
when: cert_management == 'vault' and vault_bootstrap | d()
|
||||
|
||||
## Cluster
|
||||
- include: cluster/main.yml
|
||||
- include_tasks: cluster/main.yml
|
||||
when: cert_management == 'vault' and not vault_bootstrap | d()
|
||||
|
||||
Reference in New Issue
Block a user