ssh-copy-id -i my.key.pub <hostname probably from tailscale>
this makes sure I can run ansible from my desktop against VMs on my server
easily if they have tailscale for the hostname - otherwise use the IP
My thoughts on the pang-wang
Nextcloud Docker Upgrade Error
in /lib/systemd/system/docker.service there is an ExecStart command that got placed there when I setup Docker with Ansible - it threw the -H flag which told the daemon what hosts to setup. But I added the “hosts” key in my daemon.json and it broke - so removing the -H flag from the systemd unit fixed it
I regularly need to edit system config files - take /etc/sanoid/sanoid.conf as
an example… I’ll want to play with something but if I don’t start Neovim as
root then I get in trouble making edits I can’t save! So
suda.vim gives me
:SudaWrite which let’s me write that buffer with sudo privileges even though
I’m Neovim is running with my login user!
I’m playing with my ansible playbook in a remote tmux session, and I’m no wiz
so I don’t know the ins and outs, but I can’t scroll up to get any console log
output that’s not already visible on my screen. So I’m starting to end my
commands with | less so I can page through the console output!
ansible-playbook plays.yml -v --tags mytag | less
Description of my proposed vimconf 2022 talk
mkdir s{1..10} will make directories s1, s2, … s10 in one command!
Bought some DDR4-3600 speed RAM but only seeing 2666? Load up the BIOS, find DRAM config or something similar, and make sure to load the XMP profile to get that advertised RAM speed!
ssh -v -i ~/.ssh/id_rsa nic@hogwarts
THen we can look at print outs
cat /var/log/auth.log also showed me that I had too wide permissions on files in ~/.ssh -> probably changed from an rsync job




