use include_tasks instead of include
Change-Id: I8092f67063f5925f25ebbbffd22a1454a6a31adb
This commit is contained in:
parent
16aeaf899f
commit
42c7fdadd5
@ -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'
|
||||
|
@ -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…
Reference in New Issue
Block a user