zebrunner / mcloud-agent

18 stars 11 forks source link

need to update the include syntax on yml file #304

Closed MHabiib closed 1 month ago

MHabiib commented 5 months ago

ansible.builtin.include has beed removed from ansible-core in release after 2023-05-16

https://github.com/zebrunner/mcloud-agent/blob/a1fa5892032c66bcdee23b04976a5b0720d3014b/roles/devices/tasks/main.yml#L4 https://github.com/zebrunner/mcloud-agent/blob/a1fa5892032c66bcdee23b04976a5b0720d3014b/roles/mac-devices/tasks/main.yml#L4

need change the include to include_tasks to solve this issue

vdelendik commented 5 months ago

after updating make sure to update readme doc as well having new version of ansible as prerequisite

dhreben commented 1 month ago

the same issue:

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 playbooks.

Ubuntu 24.04 LTS ansible [core 2.16.3]

dhreben commented 1 month ago

Fixed