summaryrefslogtreecommitdiff
path: root/test/integration/targets/roles_arg_spec
Commit message (Collapse)AuthorAgeFilesLines
* Fix unexpected exception when a role has an empty argument_specs.yml ↵Sloane Hertel2021-09-295-0/+25
| | | | | | | | | | | | | | | (#75604) (#75684) * Fix role with empty argument_specs.yml * Use try/except and add changelog fragment * Always return a dict * Add test for empty argument_specs key (cherry picked from commit 3e7a6222047aae29db4ce0005c0bdf320c7f7918) Co-authored-by: devon-mar <devon-mar@users.noreply.github.com>
* Template suboptions in a role's arg spec (#75073) (#75094)Sloane Hertel2021-07-122-0/+65
| | | (cherry picked from commit ca6123e0ee0707b4cdf74137b5778fd913da8357)
* role argspec - tag role argspec validation task with 'always' (#74994) (#74996)David Shrewsbury2021-06-142-0/+16
| | | | | * update tag docs (cherry picked from commit 97acb0f470471c9dcf1e357f1672127f146240a8)
* Role argspec: allow new argument spec file (#74582) (#74656)David Shrewsbury2021-05-179-9/+66
| | | | | | | | | | | | | | * support separate role argspec file in ansible-core * support both .yml and .yaml extensions on argspec file in ansible-doc * fix filename building bug and rename some argspec files to test variations * use yaml extensions from constants * add superfluous meta/main.yml files to tests * Update lib/ansible/cli/doc.py * update docs * add changelog and allow for main.yml variations * add collection role testing Co-authored-by: Sam Doran <sdoran@redhat.com> (cherry picked from commit 8fb54885bf891a61516164594e1625be3925910d)
* Disable junit callback on roles_arg_spec_tests (#73663)Sam Doran2021-02-232-5/+17
| | | | This prevents the role arg spec validation tasks from showing up as failure in the CI output.
* Add rolespec_validate to import/include_role (#73589)David Shrewsbury2021-02-121-0/+23
| | | | | | | * Add rolespec_validate to import/include_role * Add changelog * fix sanity, not private
* Role arg spec validation implementation (#73152)David Shrewsbury2021-02-1221-0/+645
* Initial import of modified version of alikins' code * Add unit testing for new Role methods * Fix validate_arg_spec module for sanity test. Add test_include_role_fails.yml integration test from orig PR. * Add testing of suboptions * Use new ArgumentSpecValidator class instead of AnsibleModule * fix for roles with no tasks, use FQ name of new plugin * Add role dep warning