I am unable to execute playbooks using ansible-test network-integration command on ansible-core 2.19.0b5.
I have used the ansible.builtin.include_tasks command and passed a .yml file, which in turn performs some tasks.
When I do so, I get an error stating the file is not found for the file passed in the include_tasks command.
- name: Check the firmware version
ansible.builtin.include_tasks: _check_firmware_version_supported.yml
Here I get the following error:
[Errno 2] No such file or directory
I have also exported the ANSIBLE_COLLECTIONS_PATH and PYTHONPATH variables.
Hello Chris,
Thank you for responding.
Yes, my file belongs to the same directory.
This playbook is not calling any roles.
I have observed this issue only in Ansible Core 2.19 (I have tested it on Ansible 2.19.0b3 and 2.19.0b5 ).
This has worked fine for me in the 2.18 version of Ansible