-
Notifications
You must be signed in to change notification settings - Fork 333
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
refactor: use dedicated ansible modules #394
Conversation
Hi @dhoppe - just check in to see if this is still a work in progress and if it should remain as a draft or ready for review. Thanks! |
@tenthirtyam I am still working on that. Yesterday I did some changes related to |
Thanks for the update and the contributions, @dhoppe - it’s much appreciated. 🚀 |
Hi @dhoppe - let me know if you might have time to finish this pull request in the next couple of week - hoping to get a release out for end of January `23. |
@tenthirtyam I am really sorry about this, but I am pretty busy right now. Feel free to solve the merge conflict and merge the pull request as it is. Everything else can be switched to Ansible later. |
578be29
to
26636a6
Compare
I've rebased this pull request and will be looking into onboarding these great changes soon - thank you for your patience and contribution! Will review opportunities for VMware Photon OS as well. |
ea96242
to
86ba837
Compare
86ba837
to
3d2d01d
Compare
3d2d01d
to
74225f2
Compare
74225f2
to
ad1e9a3
Compare
fac2857
to
4194f10
Compare
Rebased and updated with the newer distributions that have been updated. This is next in the queue at long last. cc @rcroft-work |
7f5b95c
to
8f9ddce
Compare
Updates Linux distributions added recently: - Debian 11 - Debian 12 - Oracle Linux 8 - Oracle Linux 9 - Photon 5 Signed-off-by: Ryan Johnson <[email protected]>
ce1946d
to
eeddcd0
Compare
Refactors and reorganizes the Ansible roles to use dedicated modules and provide simplification. Ref: vmware-samples#394 Signed-off-by: Ryan Johnson <[email protected]>
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.
I've rebased and completed the changes.
Fixes the `machine-id` truncate issue introduced in #394. Signed-off-by: Ryan Johnson <[email protected]>
Fixes the `machine-id` truncate issue introduced in #394. Signed-off-by: Ryan Johnson <[email protected]>
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Summary of Pull Request
The existing Ansible playbooks / roles should use dedicated modules instead of shell commands.
For example the Ansible module
ansible.posix.authorized_key
automatically creates the.ssh
directory and handles the permissions of theauthorized_keys
properly.I also think that this project will benefit from the error messages that an Ansible module provides.
Type of Pull Request
type/bug
type/feature
ortype/enhancement
type/docs
type/refactor
type/chore
Please describe:
Related to Existing Issues
Issue Number: N/A
Test and Documentation Coverage
Breaking Changes?