Skip to content

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
merged 9 commits into from
Jun 9, 2025

Conversation

alisonlhart
Copy link
Contributor

@alisonlhart alisonlhart commented Jun 4, 2025

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

@alisonlhart alisonlhart added the enhancement New feature or request label Jun 4, 2025
@alisonlhart alisonlhart force-pushed the argspec-playbook-project branch 5 times, most recently from b54d681 to 9f6f7fc Compare June 4, 2025 22:58
@alisonlhart alisonlhart force-pushed the argspec-playbook-project branch 2 times, most recently from 8fd8f77 to 0c8b6fa Compare June 5, 2025 18:03
@alisonlhart alisonlhart force-pushed the argspec-playbook-project branch from ec536f1 to f96b62b Compare June 5, 2025 18:19
@alisonlhart alisonlhart marked this pull request as ready for review June 5, 2025 18:43
@alisonlhart alisonlhart requested a review from a team as a code owner June 5, 2025 18:43
@alisonlhart alisonlhart requested a review from cidrblock June 5, 2025 21:32
@github-project-automation github-project-automation bot moved this from In Progress to Review in 🧰 devtools project board Jun 6, 2025
@cidrblock cidrblock requested review from nitzmahone and sivel June 6, 2025 14:34
@cidrblock
Copy link
Collaborator

@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

@alisonlhart alisonlhart merged commit 301cae5 into ansible:main Jun 9, 2025
19 checks passed
@github-project-automation github-project-automation bot moved this from Review to Done in 🧰 devtools project board Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants