Browse Source

use include_tasks instead of include

Change-Id: I8092f67063f5925f25ebbbffd22a1454a6a31adb
changes/89/612589/1
zhulingjie 3 years ago
parent
commit
42c7fdadd5
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      tools/gate/kubeadm/playbook/roles/docker/tasks/main.yml
  2. +2
    -2
      tools/gate/kubeadm/playbook/roles/k8s_cli/tasks/main.yml

+ 2
- 2
tools/gate/kubeadm/playbook/roles/docker/tasks/main.yml View File

@ -5,10 +5,10 @@
- ca-certificates
- curl
- include: ubuntu.yml
- include_tasks: ubuntu.yml
when:
ansible_pkg_mgr == 'apt'
- include: centos.yml
- include_tasks: centos.yml
when:
ansible_pkg_mgr == 'yum'

+ 2
- 2
tools/gate/kubeadm/playbook/roles/k8s_cli/tasks/main.yml View File

@ -1,9 +1,9 @@
---
- include: ubuntu.yml
- include_tasks: ubuntu.yml
when:
ansible_pkg_mgr == 'apt'
- include: centos.yml
- include_tasks: centos.yml
when:
ansible_pkg_mgr == 'yum'


Loading…
Cancel
Save