Skip to content

Commit 236c960

Browse files
committed
feat(include): Remove include key in tasks
1 parent a1ae5fb commit 236c960

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22

3-
- include: python.yml
3+
- import_tasks: python.yml
44
when: python_enabled
55
tags: [python]

tasks/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22

3-
- include: install.deb.yml
3+
- import_tasks: install.deb.yml
44
when: ansible_os_family == 'Debian'
55

6-
- include: install.yum.yml
6+
- import_tasks: install.yum.yml
77
when: ansible_os_family == 'RedHat'
88

99
- file: state=directory name=/usr/share/python

test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- hosts: all
22
tasks:
3-
- include: tasks/main.yml
3+
- import_tasks: tasks/main.yml
44
vars_files:
55
- defaults/main.yml
66
- .travis.yml

0 commit comments

Comments
 (0)