-
-
Notifications
You must be signed in to change notification settings - Fork 623
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 support for x86 devices #2048
Conversation
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.
Needs to comment back a few things and swap out your branch but good progress. Also keep in mind that x86 can run on 32 bit too.
ansible/roles/system/tasks/main.yml
Outdated
@@ -206,15 +209,28 @@ | |||
update_cache: true | |||
when: not cdefs_exist | |||
|
|||
- name: Install Anthias dependencies | |||
- name: Get architecture | |||
ansible.builtin.command: dpkg --print-architecture |
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.
Use a more native way for this. You can get it from ansible directly.
The long term plan is to be less Debian specific so the less hard coded we can be the better.
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.
@nicomiguelino this is what I mean
Meaning, use "ansible_facts.ansible_architecture" instead of shelling out.
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.
Got it, thanks! Please see newer commits.
* Some code are still hardcoded. * Proper fixes will be committed later.
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.
This PR should probably still be in draft given that it had a lot of commented out code with notes. That said, looks promising
Quality Gate passedIssues Measures |
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
Description
References (for Easy Access)