mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2025-10-09 05:57:15 +03:00
'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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user