Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Improve gather facts and subset support #326

Merged
merged 4 commits into from
Jun 23, 2022
Merged

Conversation

apatard
Copy link
Contributor

@apatard apatard commented Jun 22, 2022

  • add tests for gather_facts and gather_subset
  • fix schema for gather_subset

apatard added 3 commits June 22, 2022 16:50
Since support for import_playbooks has been added, the output
of check-jsonschema will only output the error due to the play
not matching the import_playbook schema (which is a normal thing)
but won't show the actual error, so use -v to see all errors.

Signed-off-by: Arnaud Patard <[email protected]>
gather_subset is not a boolean but an array of string, so fix the
definition and add various tests files for it.

Signed-off-by: Arnaud Patard <[email protected]>
While working on gather_subsets, thought it would be a good idea
to add tests for gather_facts too.

Signed-off-by: Arnaud Patard <[email protected]>
@apatard apatard requested review from ssbarnea and a team as code owners June 22, 2022 15:55
@github-actions github-actions bot added the enhancement New feature or request label Jun 22, 2022
@ssbarnea
Copy link
Member

I seen that you left an extra -v in a linter call, please remove it. Likely that should lower the number of test fixtures changes lower.

@ssbarnea ssbarnea merged commit 795989e into ansible:main Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants