After update ansible up to 2.16.1 version I get an error:
PLAY [clients] *********************************************************************************************************************************************************************************************
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.
Could you update your playbooks where the include occurs?
Also there is one more issue related to new version of jinja2 I guess
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ansible_distribution_version is version('{{ version_to_compare }}', '>')
fatal: [host]: FAILED! =>
msg: 'The conditional check ''ansible_distribution_version is version(''{{ version_to_compare }}'', ''>'')'' failed. The error was: Conditional is marked as unsafe, and cannot be evaluated.'
Hi there! I use community ansible role (master branch) for managing clients and servers.
After update ansible up to 2.16.1 version I get an error:
Ansible version
Could you update your playbooks where the
include
occurs?Also there is one more issue related to new version of jinja2 I guess
I suppose we need use it without braces.