28
submitted 1 year ago by wolf@lemmy.zip to c/linux@lemmy.ml

At the moment I am using Debian Bookworm and I can setup/configure 100% of my setup automatically everything via Ansible. (Only thing left after the Ansible script is login to my online accounts/email which I would rather not automate.)

Is there a way/does anyone have this working/running on Silverblue?

To be more concrete: After I install Silverblue with default settings, I want to automatically install all needed flatpaks, configure them (and link configuration files to a github repository) and also setup some toolboxes for development. With one command/step, like running Ansible.

you are viewing a single comment's thread
view the rest of the comments
[-] alternateved@lemmy.one 9 points 1 year ago

Check ublue approach like for example in this repo: https://github.com/ublue-os/beyond

In other words, leverage native OCI containers.

[-] wolf@lemmy.zip 2 points 1 year ago

Thank you, looks very interesting.

According to the readme one has to login and issue commands at the shell - is there a way to use a kickstart file/some kind of provisioning tool like Ansible with native support for rpm-ostree?

[-] j0rge@kbin.social 1 points 1 year ago

Yeah, look at the examples here: https://github.com/coreos/layering-examples for an ansible example.

Though some modules don't work (the flatpak one doesn't work unfortunately). This is also useful: https://github.com/j1mc/ansible-silverblue

Hope it helps!

[-] wolf@lemmy.zip 1 points 1 year ago

Thanks a lot, will check your links tonight. I'll try to wrap my head around why Ansible doesn't work OOTB, given Red Hats involvement with Fedora and Ansible. Am I the only who tries to use Silverblue as cattle instead of a desktop pet?!

[-] GnomeComedy@beehaw.org 1 points 1 year ago

I was curious and I was able to use ansible to install a list of flatpaks without problem

[-] j0rge@kbin.social 1 points 1 year ago

The OCI features are pretty new (they won't hit Fedora until F40) so there's catching up to do still. They'll get there at some point, there's just a vast amount of existing work out there that they need to account for.

this post was submitted on 18 Oct 2023
28 points (100.0% liked)

Linux

48210 readers
712 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS