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

Add a check in config to set project type as playbook #306

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

shatakshiiii
Copy link
Contributor

@shatakshiiii shatakshiiii commented Oct 18, 2024

This PR adds a small check in config to set project type as "playbook" from "ansible-project". This is required when args are directly passed to config class (without any interaction with arg_parser)

For example: https://github.com/ansible/ansible-dev-tools/blob/main/src/ansible_dev_tools/resources/server/creator.py#L138-L147

Related PR: ansible/ansible-dev-tools#430

@shatakshiiii shatakshiiii added the bug Something isn't working label Oct 18, 2024
@shatakshiiii shatakshiiii requested a review from a team October 18, 2024 11:27
@shatakshiiii shatakshiiii self-assigned this Oct 18, 2024
@shatakshiiii shatakshiiii marked this pull request as ready for review October 18, 2024 11:27
@ssbarnea
Copy link
Member

no tests?

@shatakshiiii
Copy link
Contributor Author

no tests?

Incoming ......

@audgirka audgirka marked this pull request as draft October 18, 2024 12:05
@shatakshiiii shatakshiiii marked this pull request as ready for review October 18, 2024 12:55
@shatakshiiii
Copy link
Contributor Author

@ssbarnea , test added!

Copy link
Contributor

@alisonlhart alisonlhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ssbarnea ssbarnea merged commit 23c3fb8 into ansible:main Oct 18, 2024
17 checks passed
@shatakshiiii shatakshiiii deleted the update_config branch October 18, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants