mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 16:44:41 +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:
parent
dd0c6e0f8e
commit
f3076bad55
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user