Goal

  • Get Ansible doing things on my intel NUC

2025-01-24 09:15

  • 09:15: Starting up and getting into the swing of things is the hardest part of the day. I’m still at a loss as to, what breadcrumb do I leave myself the day before, so that this struggle with stasis gets easier. maybe just leave a clue to myself, of what I was thinking about doing/tackling next

  • 10:14: Got my ansible playbook validated with yamllint. Progress! And also the confidence that splitting my lines with the > does in fact keep it on a single line in practice

  • Note to Self: Struggling to make progress? Lower the bar. Lower the standards of what progress looks like. Make it easy. But make sure you show up!

  • Note to Self Deux: Learn about yaml block chompers: https://yaml-multiline.info/ & https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines/21699210#21699210

  • Syncthing Note (for the next machine): Figure out where syncthing stores its config folder and regularly back it up. It’ll help with Ansible restores. You just have to dump the config back after mounting all the paths just as they were before with the same owner (probably before we do the install syncthing play?). The config’s in ~/.config/syncthing currently, but new machines/new installs might have it in $XDG_STATE_HOME/syncthing

  • Since my brain isn’t quite working, am making sure my playbook is validating with ansible-lint Love the tool. It’s instilling best practices into my muscle memory

  • Woohoo!

    screenshot: results of running the ansible-lint command. all ok!

  • The playbook still executes 😂 On a more serious note, working to a predefined spec, makes life easy

  • Ok. it executed a little too well and I made a booboo. Now my NUC won’t boot. Be back whenever!

2025-01-24 11:45

  • Moving on the recovery stage.
  • Downloading a debian iso :)
  • writing image to a usb flash drive
  • Done. Now to the hard part. Rummaging in my table and connecting displays and all that jazz
  • 12:17: and we’re back up! wow! This was good, trial by mini-fire
  • The whole playbook just paid for itself. I fixed my booboo, ran the playbook and the machine came right back to where I was! Hurrah for Ansible! This is amazing!
  • If it wasn’t for the downloading the iso and burrowing under the table to fix a keyboard and monitor part, I’d be done in 5 minutes actually.
  • Done for now. Be back later if I can. Or tomorrow.

2025-01-24 12:30

  • Client Meeting

2025-01-24 15:50

  • Back at work.
  • nginx installed
  • ok now to install the docker apt repo and install docker-engine
  • 18:13: got it done! hurrah! pleased as punch :)

2025-01-24 20:14

  • Done!


Feedback on this post?
Mail me at feedback at this domain.

P.S. Subscribe to my mailing list!
Forward these posts and letters to your friends and get them to subscribe!
P.P.S. Feed my insatiable reading habit.