use include_tasks instead of include
Change-Id: I8092f67063f5925f25ebbbffd22a1454a6a31adb
This commit is contained in:
parent
16aeaf899f
commit
42c7fdadd5
@ -5,10 +5,10 @@
|
|||||||
- ca-certificates
|
- ca-certificates
|
||||||
- curl
|
- curl
|
||||||
|
|
||||||
- include: ubuntu.yml
|
- include_tasks: ubuntu.yml
|
||||||
when:
|
when:
|
||||||
ansible_pkg_mgr == 'apt'
|
ansible_pkg_mgr == 'apt'
|
||||||
|
|
||||||
- include: centos.yml
|
- include_tasks: centos.yml
|
||||||
when:
|
when:
|
||||||
ansible_pkg_mgr == 'yum'
|
ansible_pkg_mgr == 'yum'
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
- include: ubuntu.yml
|
- include_tasks: ubuntu.yml
|
||||||
when:
|
when:
|
||||||
ansible_pkg_mgr == 'apt'
|
ansible_pkg_mgr == 'apt'
|
||||||
|
|
||||||
- include: centos.yml
|
- include_tasks: centos.yml
|
||||||
when:
|
when:
|
||||||
ansible_pkg_mgr == 'yum'
|
ansible_pkg_mgr == 'yum'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user