Ansible suggests invalid solution in error message for include_tasks #45661
Labels
affects_2.6
This issue/PR affects Ansible v2.6
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
Using Ansible 2.6.4 (current release) when attempting to
include_tasks
for a file that isn't present on the controller but is present on the remote, the following error message prints:However, per the docs,
remote_src
is not a valid option forinclude_tasks
.ISSUE TYPE
COMPONENT NAME
include_tasks
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Controller is Mac OS X High Sierra, remote is Ubuntu 18.04
STEPS TO REPRODUCE
/tmp/file.yml
.include_tasks: /tmp/file.yml
EXPECTED RESULTS
Get a useful error message.
ACTUAL RESULTS
Got the error
which suggests an invalid solution.
The text was updated successfully, but these errors were encountered: