5 ms·
I just started using Pyinfra to wrangle a bunch of servers and it is a breath of fresh air compared to Ansible. I moved all of my server OS installs to Fedora C
by jdoss 2y ago
I just started using Pyinfra to wrangle a bunch of servers and it is a breath of fresh air compared to Ansible. I moved all of my server OS installs to Fedora CoreOS which doesn't ship with Python in the OS and since Pyinfra doesn't need Python on the host node I can kick off tasks in bulk to do server things. It is great. I cannot wait to see where the Pyinfra project goes.
On a side note, one of the most hacky things I came up with to get Ansible working on Fedora CoreOS was to bind mount a container rootfs that had python 3 and then symlink it into the right spots. You can of course add Python in with rpm-ostree if you want but I wanted to avoid layering packages at the time. I wasn't proud of it. But it worked.
https://github.com/forem/selfhost/blob/main/playbooks/templates/forem.yml.j2#L67-L118 https://github.com/forem/selfhost/blob/main/playbooks/templa...
- shoggouth 2y agoDoesn’t IBM/Red Hat own Ansible and Fedora CoreOS? I would think they would mix together perfectly.
- movedx 2y ago> since Pyinfra doesn't need Python on the host node I can kick off tasks in bulk to do server things. And you can do this with Ansible, too. Check out the raw module/command.