Merge "use include_tasks instead of include"

This commit is contained in:
Zuul 2018-10-25 09:15:07 +00:00 committed by Gerrit Code Review
commit 3ad487fb5a
2 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

@ -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'