Skip to content
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

Scaffold a generic module plugin in an existing ansible collection using add subcommand. #365

Merged
merged 21 commits into from
Feb 26, 2025

Conversation

shvenkat-rh
Copy link
Contributor

@shvenkat-rh shvenkat-rh commented Feb 14, 2025

SUMMARY

This PR adds support to scaffold module plugins in an existing ansible collection using add subcommand.

A new "module" subdirectory has been created under the plugins directory.

CLI usage:

ansible-creator add plugin module your_module_name /path/to/your/existing/ansible_collection

Related JIRA: https://issues.redhat.com/browse/AAP-36203

@audgirka audgirka added the enhancement New feature or request label Feb 18, 2025
@abhikdps abhikdps changed the title Scaffold module plugins in an existing ansible collection using add subcommand. Scaffold a generic module plugin in an existing ansible collection using add subcommand. Feb 19, 2025
@shvenkat-rh shvenkat-rh marked this pull request as ready for review February 20, 2025 10:01
@shvenkat-rh shvenkat-rh requested a review from a team as a code owner February 20, 2025 10:01
@shatakshiiii
Copy link
Contributor

@shvenkat-rh Please update the docs to mention these changes. You can see an example here: https://ansible.readthedocs.io/projects/creator/installing/#add-support-to-scaffold-resource-in-an-existing-project

@shvenkat-rh shvenkat-rh merged commit f8b098d into ansible:main Feb 26, 2025
20 checks passed
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
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants