How to do unattended installs and updates?

I don’t see an option to answer yes to any prompts. Is there a different way to do unattended installs and updates?

For installations there are ansible modules available: community.general.flatpak module – Manage flatpaks — Ansible Documentation

Here’s how I do it, for updates I made a systemd timer and service:

And then I found these keys will keep gnome-software quiet, though you’ll have to depend on another tool to upgrade the rest of the system (or you might be using another tool that’s not gnome-software), but putting here for reference:

dconf write /org/gnome/software/allow-updates "false"
dconf write /org/gnome/software/download-updates "false"
dconf write /org/gnome/software/download-updates-notify "false"
1 Like

It seems to work, thanks much!