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,17 +1,17 @@
|
||||
---
|
||||
- include: bootstrap-ubuntu.yml
|
||||
- import_tasks: bootstrap-ubuntu.yml
|
||||
when: bootstrap_os == "ubuntu"
|
||||
|
||||
- include: bootstrap-debian.yml
|
||||
- import_tasks: bootstrap-debian.yml
|
||||
when: bootstrap_os == "debian"
|
||||
|
||||
- include: bootstrap-coreos.yml
|
||||
- import_tasks: bootstrap-coreos.yml
|
||||
when: bootstrap_os == "coreos"
|
||||
|
||||
- include: bootstrap-centos.yml
|
||||
- import_tasks: bootstrap-centos.yml
|
||||
when: bootstrap_os == "centos"
|
||||
|
||||
- include: setup-pipelining.yml
|
||||
- import_tasks: setup-pipelining.yml
|
||||
|
||||
- name: check if atomic host
|
||||
stat:
|
||||
|
||||
Reference in New Issue
Block a user