replace deprecated ansible include cmd
Signed-off-by: Wei Wei <weiwei.inf@gmail.com>
This commit is contained in:
parent
8a1a2f2713
commit
53a4f93967
@ -3,12 +3,12 @@
|
||||
become: true
|
||||
tasks:
|
||||
- include_vars: vars/vars.yaml # Contains tasks variables for installer
|
||||
- include: tasks/bootstrap_ubuntu.yaml # Contains tasks bootstrap components for ubuntu systems
|
||||
- include_tasks: tasks/bootstrap_ubuntu.yaml # Contains tasks bootstrap components for ubuntu systems
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
- include: tasks/bootstrap_centos.yaml # Contains tasks bootstrap components for centos systems
|
||||
- include_tasks: tasks/bootstrap_centos.yaml # Contains tasks bootstrap components for centos systems
|
||||
when: ansible_distribution == "CentOS"
|
||||
- include: tasks/k8s.yaml # Contains tasks kubernetes component installation
|
||||
- include: tasks/binaries.yaml # Contains tasks for pulling containerd and cri-containerd components
|
||||
- include_tasks: tasks/k8s.yaml # Contains tasks kubernetes component installation
|
||||
- include_tasks: tasks/binaries.yaml # Contains tasks for pulling containerd and cri-containerd components
|
||||
|
||||
- name: "Create a directory for containerd config"
|
||||
file: path=/etc/containerd state=directory
|
||||
|
Loading…
Reference in New Issue
Block a user