-
Notifications
You must be signed in to change notification settings - Fork 310
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: ansible roles #934
Conversation
Hi @shaneholloman 👋 - would you mind reviewing this pull request based on the content you provided in #932? |
f0ae73c
to
d4aa635
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.
Generally looks very good...
-
there are some inconsistencies (my fault) with quotes - mode: '0644' vs "0644" (single quotes are a preference) I noticed yesterday that running
ansible-lint --fix
will normalize all the quoting bits for free, very handy: single vs double and will also clean up items like thename: "Quoting as well"
changes toname: Quoting as well
so maybe that be could run as a separate test/commit? -
If I even understand this correctly, I'd like to let vmware tools tell us which distro flavor it sees, rather than squashing it to simply: 'other5xLinux64Guest' - however I may not understand fully how vmware-tools works in this regard.
-
I see you kept the suse refactor for
full_module_path: "{{ base_sle_module_name }}/{{ base_sle_module_version }}/{{ base_sle_architecture }}"
Note: I haven't test that. but syntaxually it checks for me.
Without personally testing on very distro, looks good to me ... that said I'll be testing every distro in the project (except the paid distros Rhel and Suse) next week.
awesome work as usual, this project is very helpful and Im grateful its maintained so well.
aside: working on a clean way to let users include their additional playbooks/roles as this something we do here at work.
d4aa635
to
abc8e53
Compare
An update has been force-pushed in abc8e53 with the auto fixes by ansible-lint. |
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.
nice work.
Hi Currently, I receive an error during the provision of the VM. Is it fixed in this pr?
KR |
i tested this on Rocky 9.4 and 8.10 with out running into this issue. Ran through build around 4 times with success on each run |
abc8e53
to
52692c7
Compare
54d920e
to
e77d022
Compare
Refactors with: - fully qualified module names - properly formed blocks - named blocks - corrected indenttion - moved the when directive to top of blocks - idempotent commands - prefixed task_names var with role name - added some changed when's to silence linter where needed - suse hard coded values moved to var/main.yml Signed-off-by: Ryan Johnson <[email protected]>
52692c7
to
9b474ff
Compare
Summary of Pull Request
Refactors:
when
directive to top of blocks.task_names
var with role name.var/main.yml
.Type of Pull Request
type/bug
type/feature
ortype/enhancement
type/docs
type/refactor
type/chore
Please describe:
Related to Existing Issues
Ref: #932
Test and Documentation Coverage
Breaking Changes?