Closed alanzdunic closed 5 years ago
@alanzdunic Will you be able to test the PR https://github.com/ansible-network/network-engine/pull/230?
To test it:
git clone -b fix_command_parser_file_load --single-branch https://github.com/trishnaguha/network-engine.git
In your playbook change the imported role ansible-network.network-engine
to the path of the network engine repository cloned <path>/network-engine
.
Note this is development branch.
Test was successful.
Thanks Trishna,
Thanks for the bug report. resolved_by_pr https://github.com/ansible-network/network-engine/pull/230
ISSUE TYPE
ANSIBLE VERSION
Network OS
N/A
SUMMARY
Currently in command_parser.py after source path is constructed tasks are still loaded from
src
[tasks = self._loader.load_from_file(src)], but with recent changes I think tasks should now load fromsrc_path
[tasks = self._loader.load_from_file(src_path)]STEPS TO REPRODUCE
EXPECTED RESULTS
Command_parser finishes parsing successfully
ACTUAL RESULTS
on ansible tower playbook fails with