geerlingguy / ansible-role-docker

Ansible Role - Docker
https://galaxy.ansible.com/geerlingguy/docker/
MIT License
1.8k stars 851 forks source link

ansible.builtin.include has been removed Error while installing docker role #443

Open bettaps opened 7 months ago

bettaps commented 7 months ago

Hello, I am using version: 7.0.2 and everytime i install this role, i get this error: TASK [docker : include_tasks] ** task path: ~/.ansible/roles/docker/tasks/main.yml:97 skipping: [206.247.123.29] => {"changed": false, "false_condition": "at_least_one_user_to_modify is defined", "skip_reason": "Conditional result was False"} ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbook

I have checked the repo and 'include' has not been used anywhere. Ansible version: ansible [core 2.16.2]

Could you please help me out here ?

brunick commented 4 months ago

Hi @bettaps, are you sure the error is out of the docker role? i've had the same error but tracked it down to a include in a task that followed the docker role.

github-actions[bot] commented 1 week ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.