Decided to deploy Infisical with `pyinfra`(not using Ansible because of Yaml hell).

`pyinfra` is faster. :)

Since we can use `uv` easily nowadays, the whole venv setup also becomes much simpler.

Good stuff.

#ansible #pyinfra #yaml #infisical

أصدرت pyinfra الإصدار 3.8.0 مع اعتماد نظام الإصدار الدلالي الكامل وفصل واجهة برمجة التطبيقات الأساسية عن click باستخدام وظائف إخراج قابلة للتوصيل. يتضمن هذا التحديث تحسينات في عرض الاقتباسات للبيانات المدخلة وغير الموثوقة لمعالجة مخاطر حقن الأوامر، بالإضافة إلى دعم جديد لـ Docker وتحسينات في الأمان وسهولة الاستخدام. كما يشتمل على إصلاحات للأخطاء وتحسينات في التوثيق.

#pyinfra #Docker #Automation

🎉 Oh, joy! Yet another #update for #pyinfra, the tool everyone (literally no one) can’t live without. Now with an exciting list of #features no one understands or asked for, and more #AI buzzwords than you can shake a stick at! 🚀🤖
https://github.com/pyinfra-dev/pyinfra/releases/tag/v3.8.0 #tools #software #development #excitement #HackerNews #ngated
Release v3.8.0 · pyinfra-dev/pyinfra

Big release with a lot of fixes and improvements across the board! We're also switching to full semver (so .0 on the 3.8.0) for this release and others going forward. Thank you to all contributors!...

GitHub
Release v3.8.0 · pyinfra-dev/pyinfra

Big release with a lot of fixes and improvements across the board! We're also switching to full semver (so .0 on the 3.8.0) for this release and others going forward. Thank you to all contributors!...

GitHub

Spending the long weekend doing some #HomeLab ing. A #raspberry_pi, #pyinfra, #docker and #uptime_kuma .

Level of difficulty: the lab is in the opposite hemisphere to me.

I spend my Sunday mornings doing server updates and that is normally a chill activity, but this time there was a bit of a hiccup: https://ginabythebay.studio/posts/sudo_rs_undo/

How do you like to spend your Sunday mornings?
#pyinfra #sudo

sudo and pyinfra

Recently Ubuntu switched sudo implementations to a new version written in rust. If you need to swithc back for some reason, this article gave me enough information to do so, but there is a typo in it. In my case this worked: sudo su ls /usr/bin/sudo* #hmm, yes sudo it a symlink which after a few hops resolves to the new version rm /usr/bin/sudo ln -s /usr/bin/sudo.ws /usr/bin/sudo In my case, pyinfra stopped working, as described here and this was the only workaround I could get working.

Notes, often about Machining

@diazona @markstos ok, let me put it this other way: if you know of a good talk abut #PyInfra, please share the link :)

#Python

@diazona I see the tagline for #PyInfra is "Think ansible but Python instead of YAML, and up to 10x faster."

Sounds nice, though I imagine it has much smaller ecosystem of pre-build idempotent roles and lookup modules than #Ansible does

@markstos heh, yeah 😂 #Pulumi doesn't do that. I do use it exclusively for creating cloud resources, or occasionally things of a similar nature like Docker containers running on a host which had the Docker runtime installed and configured separately.

In order to get things installed on the servers after I provision them, I've historically mostly used shell scripts, although for new stuff I'm transitioning to cloud-init. Or in some cases I might separately (manually) prepare an image containing everything I want to wind up on the new server and use that.

For management of existing infrastructure I've been using #Pyinfra, which I like, although it doesn't have the wealth of predefined tasks/roles/playbooks that Ansible does. Someday I would like to integrate Pyinfra into my Pulumi usage.

#DevOps

pyinfraを1人で使っていて寂しくなってこんなコミュニティを立ち上げてしまった。興味ある人いるかわからないけど、よろしくお願いします #python #pyinfra

pyinfra JP: pyinfra日本ユーザーコミュニティ - connpass: https://pyinfra.connpass.com/

pyinfra JP: pyinfra日本ユーザーコミュニティ

# pyinfraってなんですか? pyinfraは、Pythonで作られたインフラ構成管理ツールです。pythonでサーバーセットアップの手順を記述して構築ができます。ひとことでいえば、ansibleやfabric, chefなどと同じ種類のツールです。 # pyinfra JPってなんですか? ansibleのYAMLに嫌気が差していたところにHacker Newsでpyinfraを見かけました。そして試したところ、速い上に使いやすくて一瞬でpyinfraのトリコになってしまいました。 そうして使い始めましたが、周りで誰もユーザーがいない…。1人で使っているのが、つらくなって...

connpass