'include' for tasks has been deprecated

The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
master
Pascal Armand 2017-11-27 16:40:27 +01:00 committed by GitHub
parent dd0c6e0f8e
commit f3076bad55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
---
- include: setup-RedHat.yml
- include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- include: setup-Debian.yml
- include_tasks: setup-Debian.yml
when: ansible_os_family == 'Debian'
- name: Install Docker.
@ -14,5 +14,5 @@
state: started
enabled: yes
- include: docker-compose.yml
- include_tasks: docker-compose.yml
when: docker_install_compose