Address areas of improvements on Ansible Content Parser found in the Jan 8 walk-through:
File extension of the output. The postprocess code provided by IBM expects the training data to have the .jsonl extension while the current version of Ansible Content Parser genertes ftdata.json. We should change Ansible Content Parser to generate ftdata.jsonl.
The latest ansible-lint supports the environment variable ANSIBLE_LINT_NODEPS to ignore dependency errors, which can occur in content parser processing. Ansible Content Parser should set the variable.
Issue: https://issues.redhat.com/browse/AAP-19303
Description
Address areas of improvements on Ansible Content Parser found in the Jan 8 walk-through:
ANSIBLE_LINT_NODEPS
to ignore dependency errors, which can occur in content parser processing. Ansible Content Parser should set the variable.Testing
Unit tests are included.
Steps to test
Scenarios tested
ansible-content-parser could generate ftdata.jsonl file from the ansible-examples repo.