Skip to content

Commit

Permalink
Fix deprecation warning when using include
Browse files Browse the repository at this point in the history
```
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. See https://docs.ansible.com/ansible-core/2.15/user_guide/playbooks_reuse_includes.html for
details. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
```
  • Loading branch information
Senen authored and javierm committed Oct 9, 2023
1 parent 156570e commit 3708188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion galaxy/yatesr.timezone/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
- include: timezone.yml
- include_tasks: timezone.yml
2 changes: 1 addition & 1 deletion roles/system/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
name: apache2
state: absent

- include: tools.yml
- include_tasks: tools.yml

0 comments on commit 3708188

Please sign in to comment.