Merge pull request #396 from weiwei04/ansible
replace deprecated ansible include cmd
This commit is contained in:
commit
b6a1697c75
@ -3,12 +3,12 @@
|
|||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: vars/vars.yaml # Contains tasks variables for installer
|
- 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"
|
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"
|
when: ansible_distribution == "CentOS"
|
||||||
- include: tasks/k8s.yaml # Contains tasks kubernetes component installation
|
- include_tasks: tasks/k8s.yaml # Contains tasks kubernetes component installation
|
||||||
- include: tasks/binaries.yaml # Contains tasks for pulling containerd and cri-containerd components
|
- include_tasks: tasks/binaries.yaml # Contains tasks for pulling containerd and cri-containerd components
|
||||||
|
|
||||||
- name: "Create a directory for containerd config"
|
- name: "Create a directory for containerd config"
|
||||||
file: path=/etc/containerd state=directory
|
file: path=/etc/containerd state=directory
|
||||||
|
Loading…
Reference in New Issue
Block a user