* Fix finding relative template_path when provided
This allows parser.template_path to behave as expected inside roles or
collections when a path relative to the role/collection directory is
provided.
* add tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update tests
* add working tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* updates
* minor changes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Delete tests/integration/inventory
* add tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add netcommon dependency
* changes
* delete tests as CI is failing
* changes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Mark Vasi <mark.vasi@embedit.com>
Co-authored-by: Ruchi Pakhle <ruchipakhle@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ruchi Pakhle <72685035+Ruchip16@users.noreply.github.com>
* fix cli_parse: require connection
* add changelog fragment
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add validated content plugin support
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Initial commit
* Add validate lookup/filter/test plugin
* Update agrspec validation logic
* Add validate lookup/filter/test plugin
* minor updates
* remve unwanted code
* doc update
* update jsonschema validator plugin
* Add validate sub-plugin configurable option
* fix black failures
* fix ansible-test validate module issue
* fix santiy issues
* more santiy fixes
* remove GA black formatting
* add black
* fix black formatting
* fix black issues
* Add integration test and fix review comments
* add jsonschema to requirments
* fix ci issues
* update GA to install requirments
* fix GA to install requirments
* move ValidateBase to base file
* fix library not found issue in CI
* add unit test
* update_fact plugin + units
* Update README, add doc
* Add some update_fact integration tests
* Add missing test for not (index_of)
* Update fact doc updates
* Update rst from doc
* Examples as yaml
* Some developer notes (#11)
Co-authored-by: cidrblock <brad@thethorntons.net>
* Updated self._task.args from updated_data provided back from aav
* Argspec default fix (#12)
* Return data updated with default values from aav.validate()
* Update aav docs
Co-authored-by: cidrblock <brad@thethorntons.net>
* update_fact plugin + units
* Update README, add doc
* Add some update_fact integration tests
* Add missing test for not (index_of)
* Update fact doc updates
* Update rst from doc
* Examples as yaml
* Updated self._task.args from updated_data provided back from aav
* recheck
* Plugin cleanup (#14)
* WIP
* Add argspec validation to plugins, restructure tests
* Update docs
* Pre PY3.8 compat changes
* Run black to fix quotes
* Seems the order of missing keys varies between 2.9 and 2.10
* More error ordering issues fixed during argspec validation
* More black, wrong version
Co-authored-by: cidrblock <brad@thethorntons.net>
* update_fact plugin + units
* Update README, add doc
* Add some update_fact integration tests
* Update fact doc updates
* Update rst from doc
* Examples as yaml
* Updated self._task.args from updated_data provided back from aav
* recheck
Co-authored-by: cidrblock <brad@thethorntons.net>