Browse Source

Merge "use include_tasks instead of include"

changes/99/614199/1
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
3ad487fb5a
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