home.social

#ansible — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ansible, aggregated by home.social.

fetched live
  1. Alright the post-install playbook for arch is significantly improved.
    Still a lot to do, but it’s already much better.

    Btw. I just published my first Ansible role to galaxy.
    It basically handles the installation of the CachyOS and Blackarch repo for vanilla arch.

    Check it out if you like, I’ll definitely implement it to my playbook tomorrow.

    And if you’re wondering, the playbook is currently in a testing branch since I haven’t verified everything, just optimized the code.

    I’m probably able to check it this weekend when I’m back at my pc (currently working from a notebook) and if everything works it’ll get merged.

    galaxy.ansible.com/ui/standalo

    #ansible #ansiblerole #ansiblegalaxy #automation #sysadmin #devops #foss #codeberg #archlinux #CachyOS #blackarch

  2. Currently reading Ansible for DevOps by @geerlingguy and wow, I have so much to learn.

    Currently on page 144 and there’s already so much I can improve.

    Gonna try to implement some of that stuff in my Arch Linux post-install playbook this week.

    If im able to do so in time, a few blog post should arrive later this Sunday.

    If not, there’s still gonna be a post, but on a different topic.

    The playbook will get the blog post soon after improving as it’s well deserved.

    #linux #archlinux #ansible #automation #playbook #postinstall #blog #writing #learning #book #devops

  3. jsyk there are claude commits in ansible core now

    #ansible
  4. The ProLUG Big Book of Labs by Scott Champine is free with a Leanpub Reader membership! Or you can buy it for $20.00! leanpub.com/theprolugbigbookof #systems_engineering #ansible

  5. I have mental trouble, because I keep obsessing over how I should automate my Ansible setup for BIRD - I want to add specific sections to specific hosts only - but I don't really want to use templates and throw in dozens of different exclusion variables if I can avoid it. :| What do?

    #ansible

  6. Stop rebuilding servers at 2 AM. This GitHub Actions + Ansible setup provisions and hardens your entire VPS in minutes, not hours. See the exact workflow. #DevOps #Ansible #Automation

    valtersit.com/how-i-automated-

  7. On Thursday, I have upgraded the most important (MySQL) database at work and it went not very well. There were a few unexpected misconfigurations and unhandled errors that lead to more or less 10 minutes of downtime instead of 1 or 2 and a Debezium connector snapshot, which is VERY costly for Kafka consumers.

    Fortunately, we have learned from our mistakes and I have patched our Ansible playbooks to prevent all those issues from happening again.

    This morning, I have upgraded one of the most important Mastodon (PostgreSQL) databases without any issue.

    #mysql #postgresql #dba #ansible #automation #databases #mastodon

  8. Automate OpenSCAP remediation on RHEL 9: run `oscap xccdf eval --results arf.xml`, then `oscap xccdf generate fix --fix-type ansible` to produce a playbook that applies all failed rule fixes, like file permissions. Save time, ensure consistency. #openscap #ansible #remediation

    valtersit.com/vault/remediate-

  9. I think I have fallen in love with #Ansible.

    Upgrading to the latest version of @Mastodon is now as easy as:

    ansible-playbook playbooks/30-mastodon-compose.yml -e mastodon_upgrade_apply=true

    Which I can run from my phone. While on vacation.

    As I have, of course, just done.

    #mastoadmin

  10. Spaß mit cowsay und lolcat 😊

    Für den Admin-Kollegen tat sich eine neue Welt auf.

    Und meine Ansible-Playbooks sahen noch nie so fancy aus.

    #Linux #Ansible #Terminal #CLI #sysadmin #cowsay #lolcat

  11. Kurze Frage an die #Ansible bubble. Ich habe den defaults Ordner in einer Rolle so verstanden das darin die variablen sind die eine Rolle brauch zum funktionieren. Vordefiniert. So das man sie noch uberschreiben kann. Ziel ist das die Rolle ohne weiter Angaben von variablen durchläuft. Fehlerfrei!

    Ist mein Verständnis davon richtig oder habe ich da was falsch verstanden?

  12. Updating hosts on a regular.. Something that can wait, what are the chances someone finds a vulnerability to get root access and escape containers ?

    AI walks in

    Fuck man, vulnerabilities after vulnerabilities, no matter AI hallucination or actual issues, it is out there and people are looking… I need to update that Ansible playbook and get ready to update the whole thing regularly…

    #ai #homelab #selfhosting #selfhost #selfhosted #ansible #maintenance #vulnerabilities

  13. Proudly announcing a new version of the Manage My Network (MMN) #ansible collection.
    A lot has happened and I apologize for the delays. Also: Thank you very much for the rich contributions.
    Enjoy!
    github.com/imp1sh/ansible_mana

    galaxy.ansible.com/ui/repo/pub

  14. New toy for FreeBSD folks who run Ansible: a become plugin for mdo(1), the mac_do(4) counterpart to sudo/doas.

    The kernel decides whether the credential transition is allowed, so there is no password, no TTY, no doas.conf, and pipelining just works. Single file, BSD 2-Clause, tested against 15.1-RELEASE.

    github.com/chofstede/ansible-b

    Feedback welcome, especially from anyone already using mac_do in production.

    #FreeBSD #Ansible #RunBSD #DevOps #Automation