-
Notifications
You must be signed in to change notification settings - Fork 39
Add playbook argspec to init project scaffolding and as resource #420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alisonlhart
merged 9 commits into
ansible:main
from
alisonlhart:argspec-playbook-project
Jun 9, 2025
Merged
Add playbook argspec to init project scaffolding and as resource #420
alisonlhart
merged 9 commits into
ansible:main
from
alisonlhart:argspec-playbook-project
Jun 9, 2025
+455
−10
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b54d681
to
9f6f7fc
Compare
8fd8f77
to
0c8b6fa
Compare
ec536f1
to
f96b62b
Compare
cidrblock
requested changes
Jun 5, 2025
src/ansible_creator/resources/common/play-argspec/argspec_validation_playbook.yml.j2
Outdated
Show resolved
Hide resolved
src/ansible_creator/resources/common/play-argspec/inventory/argspec_validation_inventory.yml.j2
Outdated
Show resolved
Hide resolved
src/ansible_creator/resources/playbook_project/argspec_validation_definition.yml.j2
Outdated
Show resolved
Hide resolved
src/ansible_creator/resources/playbook_project/argspec_validation_playbook.yml.j2
Outdated
Show resolved
Hide resolved
src/ansible_creator/resources/playbook_project/inventory/argspec_validation_inventory.yml.j2
Outdated
Show resolved
Hide resolved
src/ansible_creator/resources/common/play-argspec/argspec_validation_definition.yml.j2
Outdated
Show resolved
Hide resolved
cidrblock
reviewed
Jun 6, 2025
src/ansible_creator/resources/common/play-argspec/argspec_validation_playbook.yml
Outdated
Show resolved
Hide resolved
cidrblock
approved these changes
Jun 6, 2025
@nitzmahone @sivel just wanted to run this past you real quick. Nothing to fancy here, just an example of using the exisiting plugin early in a play |
cidrblock
reviewed
Jun 6, 2025
src/ansible_creator/resources/common/play-argspec/argspec_validation_definition.yml
Outdated
Show resolved
Hide resolved
cidrblock
approved these changes
Jun 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds playbook argspec examples in the base init for a playbook project.
Also adds the
add resource play-argspec
command.CLI:
ansible-creator init playbook <collection-name> <desired/init/path>
CLI:
ansible-creator add resource play-argspec </path/to/your/existing/proj>
This closely follows the examples the Ansible Core team is working on.
Jira: AAP-46623