HN user

bryogenic

712 karma
Posts11
Comments123
View on HN
Bye Bye Gmail 6 months ago

- Start with takeout

- Setup automatic forwarding

- Then probably just use that old email for searching old emails

This has worked okay for me

I took this tmux config line to the next level because:

- I want it yanked into both the selection AND the default clipboard

- I want tmux to exit copy mode after yanking

  bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection default; xclip -o | xclip -in -selection clipboard'

This might be off-topic but, when can i get cloud-init for physical installs? Without jumping through ten hacks? Isn't that the future for installers given the amount of effort being put into the project and it's cross distro focus?

I'm genuinely curious on each of these questions, thanks for any insights!

Modules are where the python lives. Really well written, idempotent, and battle tested python.

But "writing" Ansible playbooks is definitely not python. It's its own dsl bastardized between yaml, jinja2 and reserved/special keywords. This is the worst thing I can say about the whole toolkit.

Unfortunately, I'm really productive with it and when I return to work I've written 3+ years ago:

A) It still runs

2) I can read and understand the intent of my playbooks

Anyone who thinks that any tool will make systems administration and automation "simple" has drank the kool-aide of some sales pitch.

Systems administration and automation is complex.

That being said I've found Ansible to be the most useful tool for the job. It does the things I need it to and new modules are usually easy to incorporate into my work if I need specific tasks done. It has its shortcomings but it hasn't blown up into an unmaintainable mess like many of the other solutions I've poured hundreds of hours into.

YAML is not fun, but it's been good enough for the task of pushing parameters around.

I'm a heavy ansible user and have not experienced anywhere close to this level of pain with ansible 2.10 and collections. None of my playbooks needed module names updated and this is not a syntax change. A fully qualified module name is simply being more explicit about where your desired module comes from in the infinitely extensible library of modules. If you use builtins or have only one of that module name installed you don't have to update anything. At least that has been my experience, although I primarily use builtin modules for a majority of my work.

I'm not saying the OP code isn't useful, but I do think that readers may be unaware of existing documented features and jumping into a library to solve their perceived problems is short changing the existing mechanisms.

I've gotten along ok with create_task and gather. I'll need to spend some time with this implementation to see if it fits any of my existing asyncio coding patterns.

This has provided an opportunity for exercising my seldom used downvote button. How apropos. This comment violates the first guideline on comments:

Be kind. Don't be snarky. Have curious conversation; don't cross-examine. Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.

There are so many answers here that are incorrect about what ansible is/does. Thank you for providing one that is correct.

If I could add to your answer:

Not only is ansible declarative and idempotent but it also includes countless cloud provisioning modules to bring idempotency to cloud environments.

Terraform may be easier for basic provisioning of cloud resources but I always switch back to ansible cloud modules when I need to do anything complex. Ansible also has the added benefit of easily context switching over to configuring the compute resources after they have launched.

Shame Google Play Music is going away

What makes you say that? From the linked blog:

If you are a subscriber to Google Play Music, good news, you get a YouTube Music Premium membership as part of your subscription each month. And if you use Google Play Music, nothing will change -- you’ll still be able to access all of your purchased music, uploads and playlists in Google Play Music just like always.