-
Notifications
You must be signed in to change notification settings - Fork 17
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
lsr_role2collection.py Introducing --new-role #66
Conversation
Looks good to me. May I ask you a couple of things?
Thanks! |
Hi Noriko,
Could you please give me a hint why black tests failed? I see an error message saying that the reformatted file has been reformatted, what is the issue with this?
I'll try.
Will do. |
Well, all
Thanks!
Thanks, again! |
you can use
then |
2e8fdab
to
1ab4458
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Great job!
Please squash the 6 commits into one before the merge (Also, please do not forget to reset author with git commit --amend --reset-author
if it's not automatically done.) Thanks!
7175af6
to
efccfed
Compare
mssql needs to change this - name: Run the role with default parameters include_role: name: linux-system-roles.mssql to this - name: Run the role with default parameters include_role: name: microsoft.sql.server python lsr_role2collection.py --role mssql --new-role server \ --namespace microsoft --collection sql Fix the existing unit test by providing the new newrole argument Add a unit test to test copy_tree_with_replace with the newrolename arg Rename roles within the change_roles function Fix tests to include a proper check of converting the "roles:" keyword Add docs for the --new-role argument
I've squashed the commits as per Noriko's request, I indeed needed to reset the author, thank you @nhosoi for the instructions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
mssql and some other roles need to change this:
- name: Run the role with default parameters include_role: name: linux-system-roles.mssql
to this:
- name: Run the role with default parameters include_role: name: microsoft.sql.server
python lsr_role2collection.py --role mssql --new-role server --namespace microsoft --collection sql