<div dir="ltr"><div>First, Re: "htop", give btop a try. It's pretty slick! It's not only pretty, it's pretty useful.</div><div><br></div><div><a href="https://github.com/aristocratos/btop">https://github.com/aristocratos/btop</a></div><div><br></div><div>On the topic of Salt vs Ansible, baby steps in Ansible are definitely possible by using limited playbooks and tags. I won't go into a full example right here, as it can get lengthy, but in Ansible you have, at the most basic:</div><div><br></div><div>- Tasks: The individual units of work, for example: Create a user, add this line to a file, install this package, create this config file using this template...</div><div>- Roles: A collection of tasks into a logical work unit, for example: Install and configure Mariadb, install my web app and all the packages, apache configs, configurations, cron jobs ,etc...</div><div>- Playbooks: Specifying what hosts get what roles or tasks applied to them.</div><div><br></div><div>It is common in Ansible to have a "site.yml" playbook that specifies all your hosts and roles, but it's also very doable to have some playbooks that do some subset of roles. For example, I'm currently working on setting up a Mariadb Galera cluster, and so I have a playbook like the following:</div><div><br></div><div> - name: MariaDB Galera Cluster</div><div> hosts: mail_db</div><div> tasks:</div><div> - name: Include MariaDB Role</div><div> include_role:</div><div> name: mariadb-galera</div><div><br></div><div>While I'm working on this role, I use this playbook, after I have run my full site playbook against the host.</div><div><br></div><div>Additionally, you can use "tags" on tasks so that you can further refine what is run. For instance, I will often tag tasks with:</div><div><br></div><div>- The name of the role they are in.</div><div>- Their general class of thing they do (packages, configs, firewall)</div><div><br></div><div>So then I can do things like run the whole site playbook, but only have it run that specific role, or install all the packages needed by all the roles, or update configs on all roles.</div><div><br></div><div>I haven't looked at Salt in probably 5-6 years, but it was very close to being the system I chose. I selected Ansible for a variety of reasons, including that Salt had some fairly serious recent (at the time) security issues, and that I personally knew some of the Ansible developers. I'm not saying Salt isn't a good choice, just wanted to give some alternatives for taking baby steps. I think Salt is a pretty good choice, having not used it.</div><div><br></div><div>Sean<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 8, 2022 at 7:46 PM Bob Proulx <<a href="mailto:bob@proulx.com">bob@proulx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">j dewitt wrote:<br>
> What: Tuesday February 8th, 2022 NCLUG Meeting<br>
<br>
We were having a good time chatting over the top of laptops. This<br>
week pretty much everyone brought a laptop. It was a good social fun<br>
chat geeking out about stuff.<br>
<br>
There was eventually a lull. We decided we should get more organized<br>
and have something that might be confused with a meeting.<br>
<br>
Bob started with a short rant about in Windows Hell this last week.<br>
Working trying to get a classroom setup of Garmin G1000 aircraft<br>
avionics simulators for CAP training sessions.<br>
<br>
Aaron Learning about Salt. Salt is a python based infrastructure<br>
management system. Aaron's group uses Salt for managing some 1500<br>
systems with everything that a system might need. Updates passwords.<br>
Updates packaging. When using an infrastructure management system one<br>
doesn't manage a single machine but a networked collection of systems.<br>
<br>
<a href="https://docs.saltproject.io/en/getstarted/system/python.html" rel="noreferrer" target="_blank">https://docs.saltproject.io/en/getstarted/system/python.html</a><br>
<br>
Says Salt is better than Ansible for doing incremental baby steps at<br>
admin. Such as changing one password across all systems. Or updating<br>
GRUB timeouts across the set. Or whatever!<br>
<br>
Stephen guesses he is Stephen but has been mostly working on hardware<br>
and Creator Hub stuff this last week.<br>
<br>
Phil is trying to pull drawings into an electromagnetic simulator. If<br>
you have transmission lines it will compute the impedance.<br>
<br>
James says he has been doing a terrible job of re-installing his<br>
previous install of his new well equipped laptop. Mostly with<br>
problems trying to use the corporate closed source nVidia driver.<br>
Mainly has complaints about controlling the brightness rather than<br>
performance. (All eyes and fingers point toward Stephen! Who at one<br>
time worked on that driver.) At which point I jumped in because I had<br>
exactly the same problem on my Thinkpad X220. And even better I have<br>
documented what I did to get those buttons working!<br>
<br>
<a href="https://www.proulx.com/~bob/doc/thinkpad-x220-laptop-keys/thinkpad-x220-laptop-keys.html" rel="noreferrer" target="_blank">https://www.proulx.com/~bob/doc/thinkpad-x220-laptop-keys/thinkpad-x220-laptop-keys.html</a><br>
<br>
I am using the Radeon driver but since it is in the Linux kernel this<br>
seems like it should work on an nVidea driver too.<br>
<br>
Meanwhile... He has mostly been working on his work machine. And<br>
then he related that he was happy that he missed out on the MS Surface<br>
Pro purchases. Various problems. He was glad he dodged the problems<br>
his co-workers have experienced.<br>
<br>
Brian has a Surface Go and there was conversation about it but at that<br>
moment I was getting a direct link from Alex for a LAN riot server he<br>
was running for a shared video session.<br>
<br>
Brian then talked about the main thing he came prepared to talk about<br>
tonight! Brian says, "I intend to talk briefly about open source watches.<br>
One of the links is rather long, so I thought I'd email it to you for your<br>
notes..." Excellent! :-)<br>
<br>
Numerous links to open source watches:<br>
<a href="https://www.cnx-software.com/2022/02/08/mutantw-v1-an-open-source-esp32-smartwatch-designed-with-autodesk-fusion-360-and-eagle/" rel="noreferrer" target="_blank">https://www.cnx-software.com/2022/02/08/mutantw-v1-an-open-source-esp32-smartwatch-designed-with-autodesk-fusion-360-and-eagle/</a><br>
<br>
PineTime Watch: <a href="https://www.pine64.org/" rel="noreferrer" target="_blank">https://www.pine64.org/</a><br>
<br>
Those are a summary of "good" open source watches. Brian calls out<br>
"Paul's 3D Things Open-Smartwatch". It's a form of Arduino and has<br>
built in WiFi. Really liked the resources for open source watches on<br>
this page.<br>
<br>
<a href="https://shop.espruino.com/banglejs2" rel="noreferrer" target="_blank">https://shop.espruino.com/banglejs2</a><br>
<br>
Bangle.js 2. A watch that runs Node.js. Cautioned that the v2 is<br>
replacing the v1 and much more desirable than the v1. I'll quote from<br>
Brian, "If I can get it to work then this is going to be great." Now<br>
that is quite the endorsement! :-) Some assembly required at this<br>
point. But it does look like it has great potential.<br>
<br>
Eric was having a problem with input lag for games running on Steam on<br>
his Pop! OS system. Which was actually one of the reasons he showed<br>
up tonight. He was hoping to share the problem and see if group think<br>
of the people had any solution. But then at the point of trying to<br>
reproduce things it was all working just fine. So just the threat of<br>
getting the group mind of NCLUG members onto the problem seems to have<br>
been enough to solve the problem.<br>
<br>
Alex suggested various Steam related debugging tips. Bob suggested<br>
simple things. "htop" to see cpu use. "sudo iotop" to look at<br>
storage I/O bandwidth. If bus I/O bandwidth is max'd out then that<br>
will really cause the machine to bog. Someone mentioned overheating.<br>
If the cpu gets too hot then the cpu will throttle and slow to reduce<br>
overheating. That will cause the appearance of system freezing.<br>
<br>
Alex then gave a demo of the riot server on the LAN. We just passed a<br>
10.* address URL around. He was the server and I grabbed the display<br>
for my laptop to show the use across the net. Since we often struggle<br>
with having the right display adaptor to hook to the projector. The<br>
project is HDMI natively. Many laptops have that. Many have Display<br>
port. Aaron's machine couldn't display today because he has the<br>
smaller Mini-DisplayPort and we didn't have an adaptor for it. (Note<br>
to self, acrquire a Mini-DP to HDMI (or DP) adaptor.<br>
<br>
Brian, Alex, Bob, others then had a discussion about hardware KVM<br>
switchers. The problem with 4K monitors is that once you start<br>
upgrading then everything needs to be upgraded!<br>
<br>
And that completed the round table and brought us to 7:30pm. At which<br>
point all organization was lost and we had a half dozen separate<br>
conversations denoting the end of the organized part of the meeting.<br>
But it may have been the best part of it.<br>
<br>
</blockquote></div>