# Problem with include\_tasks

**URL:** <https://forum.ansible.com/t/problem-with-include-tasks/25555>\
**Category:** Ansible Project\
**Created:** [September 21, 2017, 10:19am UTC](https://forum.ansible.com/t/problem-with-include-tasks/25555 "2017-09-21T10:19:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jurgen\_Haas2](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Post date:** [September 21, 2017, 10:19am UTC](https://forum.ansible.com/t/problem-with-include-tasks/25555/1 "2017-09-21T10:19:42Z")

</div>

I have a lot of includes in my roles and I replaced them with include\_tasks which seems to be working fine. Just for one instance there is a problem. The original task in that role looks like this:

```auto

```

- name: “Install Drupal”  
include: install.yml  
with\_items: ‘{{ drupal\_settings }}’

```auto

~~~

```

---

<div class="post-metadata">

**Author:** ![Clement\_VALENTIN](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Clement\_VALENTIN](https://forum.ansible.com/u/Clement_VALENTIN)\
**Post date:** [November 16, 2017, 12:17pm UTC](https://forum.ansible.com/t/problem-with-include-tasks/25555/2 "2017-11-16T12:17:31Z")

</div>

I have same problem…  
Tasks list work with include but not with include\_tasks 😕

Have you resolv your problem ?

---

<div class="post-metadata">

**Author:** ![Clement\_VALENTIN](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Clement\_VALENTIN](https://forum.ansible.com/u/Clement_VALENTIN)\
**Post date:** [November 16, 2017, 12:39pm UTC](https://forum.ansible.com/t/problem-with-include-tasks/25555/3 "2017-11-16T12:39:21Z")

</div>

I have solved problem !  
=\> Upgrade Ansible 2.4.1.0 to 2.4.2.0 🙂
