Bradley A. Thornton
bcddde229d
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>
2020-10-20 12:14:23 -07:00
Bradley A. Thornton
024daa9dfe
Argspec default fix ( #12 )
...
* Return data updated with default values from aav.validate()
* Update aav docs
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-20 07:50:08 -07:00
Bradley A. Thornton
59eb835d96
Ansible arg spec validation using AnsibleModule ( #9 )
...
* Add argspec validator
* Add argspec validator
* Remove usused param
* lint fix
* Remove unneeded import
* Add sort_list tests
* Unit tests for dict_merge
* lint fix
* argspec unit tests
* Remove q
* Rerun black
* doc updates
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-19 08:23:50 -07:00
Bradley A. Thornton
12333c2386
Simple doc updates ( #8 )
...
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-15 06:58:59 -07:00
Bradley A. Thornton
197b9d93b9
Add index_of plugin ( #6 )
...
* Add index_of filter/lookup plugin
* Update README
* Fix unittest import, black
* Remove true/false tests as ansible 2.9 uses jinja 2.10, need 2.11
* Add jinja > 2.11 to unit test requirements
* Reformat requirements file
* Limit unit to tests available in < jinja 2.11
* Reblack
* Remove float (j 2.11)
* Add integration tests, update docstring
* Comment out test using integer, requires jinja 2.11
* doc updates
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-15 05:52:14 -07:00
cidrblock
ac041e21a0
Move to common/utils.py
2020-10-13 08:50:48 -07:00
cidrblock
fc332195b3
Fix black errors
2020-10-12 12:18:10 -07:00
cidrblock
7e1e66587d
Add integration tests
2020-10-12 11:36:17 -07:00
cidrblock
61cc491133
Test only top 1000
2020-10-09 12:32:48 -07:00
cidrblock
a7faff9933
Fix CI
2020-10-09 11:57:17 -07:00
cidrblock
187b776c3f
Add units
2020-10-09 11:43:22 -07:00
cidrblock
9d3a6cad0a
get_path and to_paths
2020-10-09 10:07:26 -07:00