0

I've downloaded the docker role and when I'm running the role i get the following error:

The error appears to have been in '/some_folder/geerlingguy.docker/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- include_tasks: setup-RedHat.yml
  ^ here

and when I replace the module include_task module with the include module everything works as expected.

what is causing this issue?

Noam
  • 181
  • 2
  • 12

1 Answers1

1

If you are using Ansible version lower to 2.4 then it can be expected as include_task was introduced in Ansible 2.4 https://docs.ansible.com/ansible/2.4/include_tasks_module.html

Pradeep Bhadani
  • 4,435
  • 6
  • 29
  • 48